diff main/OSCHandler.cpp @ 2342:175ece418988

Merge from branch time-frequency-boxes
author Chris Cannam
date Mon, 07 Oct 2019 09:36:11 +0100
parents 1e77e4ee27f5
children efbf5ecb76b6
line wrap: on
line diff
--- a/main/OSCHandler.cpp	Mon Oct 07 09:32:50 2019 +0100
+++ b/main/OSCHandler.cpp	Mon Oct 07 09:36:11 2019 +0100
@@ -426,7 +426,8 @@
                 m_viewManager->setZoomWheelsEnabled(value > 0.5);
             } else if (property == "propertyboxes") {
                 bool toggle = ((value < 0.5) !=
-                               (m_paneStack->getLayoutStyle() == PaneStack::NoPropertyStacks));
+                               (m_paneStack->getLayoutStyle() ==
+                                PaneStack::HiddenPropertyStacksLayout));
                 if (toggle) togglePropertyBoxes();
             }