forked from qt-creator/qt-creator
QmlDesigner.propertyEditor: fixes glitch in caching
This commit is contained in:
@@ -922,6 +922,9 @@ void WidgetLoader::setSource(const QUrl &source)
|
|||||||
m_widget = 0;
|
m_widget = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
foreach (QWidget *cachedWidget, m_cachedWidgets)
|
||||||
|
cachedWidget->hide();
|
||||||
|
|
||||||
m_source = source;
|
m_source = source;
|
||||||
if (m_source.isEmpty()) {
|
if (m_source.isEmpty()) {
|
||||||
emit sourceChanged();
|
emit sourceChanged();
|
||||||
|
|||||||
Reference in New Issue
Block a user