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
ec15a551
Commit
ec15a551
authored
Jul 30, 2010
by
Lasse Holmstedt
Browse files
QML JS Debugger: clear context properly when reloading qml app
parent
8d504e1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/qmljsdebugger/qdeclarativedesignview.cpp
View file @
ec15a551
...
...
@@ -591,8 +591,11 @@ void QDeclarativeDesignViewPrivate::_q_onStatusChanged(QDeclarativeView::Status
{
if
(
status
==
QDeclarativeView
::
Ready
)
{
if
(
q
->
rootObject
())
{
if
(
data
->
subcomponentEditorTool
->
contextIndex
()
!=
-
1
)
data
->
subcomponentEditorTool
->
clear
();
subcomponentEditorTool
->
pushContext
(
q
->
rootObject
());
emit
q
->
executionStarted
(
1.0
f
);
}
qmlDesignDebugServer
()
->
reloaded
();
}
...
...
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