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
56445230
Commit
56445230
authored
Dec 06, 2010
by
Thomas Hartmann
Browse files
QmlDesigner.statesEditorView: Crash fix
The removed node is propably not a state.
parent
219332fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/stateseditor/stateseditorview.cpp
View file @
56445230
...
...
@@ -243,8 +243,8 @@ void StatesEditorView::nodeAboutToBeRemoved(const ModelNode &removedNode)
if
(
debug
)
qDebug
()
<<
__FUNCTION__
;
remove
ModelState
(
removedNode
)
;
if
(
Qml
ModelState
(
removedNode
)
.
isValid
())
removeModelState
(
removedNode
);
QmlModelView
::
nodeAboutToBeRemoved
(
removedNode
);
}
...
...
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