Skip to content
GitLab
Menu
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
5f8eb4a3
Commit
5f8eb4a3
authored
Dec 08, 2010
by
Thomas Hartmann
Browse files
QmlDesigner.statesEditorView: crash fix
fixes crash on shutdown
parent
1be10d3b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/stateseditor/stateseditorview.cpp
View file @
5f8eb4a3
...
@@ -100,6 +100,8 @@ void StatesEditorView::removeState(int nodeId)
...
@@ -100,6 +100,8 @@ void StatesEditorView::removeState(int nodeId)
void
StatesEditorView
::
synchonizeCurrentStateFromWidget
()
void
StatesEditorView
::
synchonizeCurrentStateFromWidget
()
{
{
if
(
!
model
())
return
;
int
internalId
=
m_statesEditorWidget
->
currentStateInternalId
();
int
internalId
=
m_statesEditorWidget
->
currentStateInternalId
();
if
(
internalId
>
0
&&
hasModelNodeForInternalId
(
internalId
))
{
if
(
internalId
>
0
&&
hasModelNodeForInternalId
(
internalId
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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