From d5292ab487179e997dcbeead0acf9e3ac15548e3 Mon Sep 17 00:00:00 2001
From: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Date: Thu, 25 Feb 2010 16:56:12 +0100
Subject: [PATCH] QmlDesigner.propertyEditor: fixes ColorGroupBox

As a side effect of the caching the ColorGroupBox was broken, because
finished was set to "true" before the property editor was visible.

fixed
---
 .../qmldesigner/components/propertyeditor/propertyeditor.cpp     | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
index d2435b4695c..c4f87637197 100644
--- a/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
+++ b/src/plugins/qmldesigner/components/propertyeditor/propertyeditor.cpp
@@ -259,7 +259,6 @@ void PropertyEditor::setupPane(const QString &typeName)
         QmlContext *ctxt = type->m_view->rootContext();
         ctxt->setContextProperty("finishedNotify", QVariant(false) );
         type->initialSetup(typeName, qmlSpecificsFile, this); 
-        ctxt->setContextProperty("finishedNotify", QVariant(true) );
     }
     QApplication::processEvents();
 }
-- 
GitLab