summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/Patchage.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Patchage.cpp b/src/Patchage.cpp
index 278670b..9a06819 100644
--- a/src/Patchage.cpp
+++ b/src/Patchage.cpp
@@ -545,8 +545,10 @@ void
Patchage::set_lash_available(bool available)
{
_project_list->set_lash_available(available);
- if (!available)
+ if (!available) {
+ _menu_view_projects->set_active(false);
_session->clear();
+ }
}
#endif