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
4c9724fc
Commit
4c9724fc
authored
Nov 25, 2010
by
Marco Bubke
Browse files
QmlDesigner.NodeInstances: React to removed import
parent
54667668
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/plugins/qmldesigner/designercore/include/nodeinstanceview.h
View file @
4c9724fc
...
...
@@ -94,6 +94,7 @@ public:
void
scriptFunctionsChanged
(
const
ModelNode
&
node
,
const
QStringList
&
scriptFunctionList
);
void
instancePropertyChange
(
const
QList
<
QPair
<
ModelNode
,
QString
>
>
&
propertyList
);
void
importAdded
(
const
Import
&
import
);
void
importRemoved
(
const
Import
&
import
);
QList
<
NodeInstance
>
instances
()
const
;
NodeInstance
instanceForNode
(
const
ModelNode
&
node
)
const
;
...
...
src/plugins/qmldesigner/designercore/instances/nodeinstanceview.cpp
View file @
4c9724fc
...
...
@@ -430,6 +430,11 @@ void NodeInstanceView::importAdded(const Import &import)
nodeInstanceServer
()
->
addImport
(
createImportCommand
(
import
));
}
void
NodeInstanceView
::
importRemoved
(
const
Import
&
/*import*/
)
{
restartProcess
();
}
//\}
...
...
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