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
Valentin Platzgummer
qgroundcontrol
Commits
c67e8397
Commit
c67e8397
authored
May 19, 2015
by
Don Gagne
Browse files
Fix show dialog while animation running
parent
35da67de
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/QmlControls/QGCView.qml
View file @
c67e8397
...
...
@@ -106,7 +106,15 @@ FactPanel {
}
}
function
__stopAllAnimations
()
{
if
(
__animateHideDialog
.
running
)
{
__animateHideDialog
.
stop
()
}
}
function
showDialog
(
component
,
title
,
charWidth
,
buttons
)
{
__stopAllAnimations
()
__dialogCharWidth
=
charWidth
__dialogTitle
=
title
...
...
@@ -120,6 +128,8 @@ FactPanel {
}
function
showMessage
(
title
,
message
,
buttons
)
{
__stopAllAnimations
()
__dialogCharWidth
=
50
__dialogTitle
=
title
__messageDialogText
=
message
...
...
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