"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/plugins/qmldesigner/components/formeditor/formeditorwidget.cpp" between
qt-creator-opensource-src-4.15.0.tar.xz and qt-creator-opensource-src-4.15.1.tar.xz

About: Qt Creator is a cross-platform, complete IDE (integrated development environment) tailored to the needs of Qt developers.

formeditorwidget.cpp  (qt-creator-opensource-src-4.15.0.tar.xz):formeditorwidget.cpp  (qt-creator-opensource-src-4.15.1.tar.xz)
skipping to change at line 579 skipping to change at line 579
{ {
QWidget::showEvent(event); QWidget::showEvent(event);
const bool wasEnabled = m_formEditorView->isEnabled(); const bool wasEnabled = m_formEditorView->isEnabled();
m_formEditorView->setEnabled(true); m_formEditorView->setEnabled(true);
if (!wasEnabled && m_formEditorView->model()) { if (!wasEnabled && m_formEditorView->model()) {
m_formEditorView->cleanupToolsAndScene(); m_formEditorView->cleanupToolsAndScene();
m_formEditorView->setupFormEditorWidget(); m_formEditorView->setupFormEditorWidget();
m_formEditorView->resetToSelectionTool(); m_formEditorView->resetToSelectionTool();
QmlItemNode rootNode = m_formEditorView->rootModelNode();
if (rootNode.isValid())
setRootItemRect(rootNode.instanceBoundingRect());
} }
} }
} // namespace QmlDesigner } // namespace QmlDesigner
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)