diff widgets/WindowShapePreview.cpp @ 974:6645b6b8356f

Fix failure to show window shape when Analysis tab in preferences is first opened
author Chris Cannam
date Fri, 12 Jun 2015 12:24:21 +0100
parents 4a578a360011
children 0edfed2c8482
line wrap: on
line diff
--- a/widgets/WindowShapePreview.cpp	Fri May 22 10:42:15 2015 +0100
+++ b/widgets/WindowShapePreview.cpp	Fri Jun 12 12:24:21 2015 +0100
@@ -209,7 +209,6 @@
 void
 WindowShapePreview::setWindowType(WindowType type)
 {
-    if (m_windowType == type) return;
     m_windowType = type;
     updateLabels();
 }