Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Tobias Hunger
qt-creator
Commits
e8195c07
Commit
e8195c07
authored
Jan 07, 2010
by
Marco Bubke
Browse files
Update the tools if the nodetype was changed.
parent
6216552d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/formeditor/formeditorview.cpp
View file @
e8195c07
...
...
@@ -180,6 +180,8 @@ void FormEditorView::nodeAboutToBeRemoved(const ModelNode &removedNode)
QmlItemNode
newItemNode
(
node
);
if
(
newItemNode
.
isValid
())
//only setup QmlItems
setupFormEditorItemTree
(
newItemNode
);
m_currentTool
->
setItems
(
scene
()
->
itemsForQmlItemNodes
(
selectedQmlItemNodes
()));
}
void
FormEditorView
::
propertiesAboutToBeRemoved
(
const
QList
<
AbstractProperty
>&
propertyList
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment