From 19b035f0f0a78d5906664e3080ff467413f20ec2 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 7 Sep 2008 19:16:14 +0000 Subject: Hide projects list when LASH is not available. git-svn-id: http://svn.drobilla.net/lad/patchage@1476 a436a847-0d15-0410-975c-d299462d15a1 --- src/Patchage.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.1