summaryrefslogtreecommitdiffstats
path: root/src/context
diff options
context:
space:
mode:
authorJiayi Zhao <jeff.no.zhao@gmail.com>2020-12-14 21:39:10 -0500
committerJiayi Zhao <jeff.no.zhao@gmail.com>2020-12-14 21:39:10 -0500
commit2b29f8485e95fd3cda434ed472992fff2ee8e7a0 (patch)
treeb5adc9ab32c74597a163cf3efc49f6522932c5f8 /src/context
parentcfaff5760fbf4f5d5d2261e2c02bd06d7e4dc824 (diff)
selected item now highlights entire row instead of just filename
Diffstat (limited to 'src/context')
-rw-r--r--src/context/context.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/context/context.rs b/src/context/context.rs
index 00fe233..520f77c 100644
--- a/src/context/context.rs
+++ b/src/context/context.rs
@@ -67,9 +67,6 @@ impl JoshutoContext {
pub fn set_local_state(&mut self, state: LocalStateContext) {
self.local_state = Some(state);
}
- pub fn get_local_state(&self) -> Option<&LocalStateContext> {
- self.local_state.as_ref()
- }
pub fn take_local_state(&mut self) -> Option<LocalStateContext> {
self.local_state.take()
}