diff widgets/WindowTypeSelector.cpp @ 997:296ccd36f626 tony-2.0-integration

Merge through to branch for Tony 2.0
author Chris Cannam
date Thu, 20 Aug 2015 14:54:21 +0100
parents 6645b6b8356f
children
line wrap: on
line diff
--- a/widgets/WindowTypeSelector.cpp	Mon Apr 13 13:52:05 2015 +0100
+++ b/widgets/WindowTypeSelector.cpp	Thu Aug 20 14:54:21 2015 +0100
@@ -78,7 +78,9 @@
 
     connect(m_windowCombo, SIGNAL(currentIndexChanged(int)),
             this, SLOT(windowIndexChanged(int)));
-    windowIndexChanged(index);
+
+    m_windowType = defaultType;
+    m_windowShape->setWindowType(m_windowType);
 }
 
 WindowTypeSelector::~WindowTypeSelector()