changeset 1529:adbc3f1c4c4e

Fix alignment of property box when switching back on after having been hidden
author Chris Cannam
date Mon, 07 Oct 2019 14:08:23 +0100
parents 14c07e445365
children 34311e135695
files view/PaneStack.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/view/PaneStack.cpp	Mon Oct 07 09:43:31 2019 +0100
+++ b/view/PaneStack.cpp	Mon Oct 07 14:08:23 2019 +0100
@@ -270,7 +270,7 @@
         for (i = m_panes.begin(); i != m_panes.end(); ++i) {
             m_propertyStackStack->removeWidget(i->propertyStack);
             i->propertyStack->setParent(i->frame);
-            i->layout->addWidget(i->propertyStack, 0, 2, 2, 1);
+            i->layout->addWidget(i->propertyStack, 1, 2, 2, 1);
             i->propertyStack->show();
         }
         m_propertyStackStack->hide();