mirror of
https://github.com/zaphar/sheetsui.git
synced 2025-07-23 05:19:48 -04:00
chore: cleanup navigation mode
This commit is contained in:
parent
31037752a8
commit
626748db0f
@ -495,10 +495,6 @@ impl<'ws> Workspace<'ws> {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn enter_navigation_mode(&mut self) {
|
||||
self.state.modality_stack.push(Modality::Navigate);
|
||||
}
|
||||
|
||||
fn enter_command_mode(&mut self) {
|
||||
self.state.modality_stack.push(Modality::Command);
|
||||
self.state.command_state.truncate();
|
||||
@ -546,7 +542,6 @@ impl<'ws> Workspace<'ws> {
|
||||
self.text_area = reset_text_area(self.book.get_current_cell_contents()?);
|
||||
}
|
||||
self.state.dirty = false;
|
||||
self.enter_navigation_mode();
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user