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
Marco Bubke
flatpak-qt-creator
Commits
d7ca7621
Commit
d7ca7621
authored
Mar 31, 2010
by
Christiaan Janssen
Browse files
QmlDesigner.StatesEditor: fixing BAUHAUS-521
parent
e37b101d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/components/stateseditor/stateseditorview.cpp
View file @
d7ca7621
...
...
@@ -510,7 +510,7 @@ void StatesEditorView::clearModelStates()
// Remove all states
const
int
modelStateCount
=
m_modelStates
.
size
();
for
(
int
i
=
0
;
i
<
modelStateCount
;
++
i
)
{
for
(
int
i
=
modelStateCount
-
1
;
i
>=
0
;
--
i
)
{
m_modelStates
.
removeAt
(
i
);
m_editorModel
->
removeState
(
i
);
}
...
...
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