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
Marco Bubke
flatpak-qt-creator
Commits
1a114248
Commit
1a114248
authored
May 06, 2010
by
Kai Koehne
Browse files
QuickDesigner: Reduce number of times states are rendered
Caused by missing brackets.
parent
2165bd4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/designercore/instances/qmlstatenodeinstance.cpp
View file @
1a114248
...
...
@@ -69,9 +69,10 @@ QmlStateNodeInstance::Pointer
void
QmlStateNodeInstance
::
activateState
()
{
if
(
stateGroup
())
{
if
(
!
isStateActive
())
if
(
!
isStateActive
())
{
nodeInstanceView
()
->
setStateInstance
(
nodeInstanceView
()
->
instanceForNode
(
modelNode
()));
stateGroup
()
->
setState
(
property
(
"name"
).
toString
());
}
}
}
...
...
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