Fix clicking directories in nav bar in condensed mode
This fixes the issue where the nav bar would close when clicking a directory in the nav bar when the window width was reduced to a size where only the nav bar was visible.
This commit is contained in:
parent
5be715bdd0
commit
e1ec093429
1 changed files with 5 additions and 0 deletions
|
|
@ -1472,6 +1472,11 @@ impl Application for App {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Prevent nav bar from closing when selecting a
|
||||
// folder in condensed mode.
|
||||
self.core_mut().nav_bar_set_toggled(true);
|
||||
|
||||
Command::none()
|
||||
}
|
||||
ProjectNode::File { path, .. } => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue