Commit c1e68a28 authored by Dirk Wilden's avatar Dirk Wilden

fixed a warning where slotAddedEmptyObject was involved

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@5860 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 6affcbf6
......@@ -343,6 +343,11 @@ void Core::slotEmptyObjectAdded ( int _id ) {
}
}
// get the opened object
BaseObjectData* object;
PluginFunctions::getObject(_id,object);
emit emptyObjectAdded( _id );
// Tell the Plugins that the Object List and the active object have changed
emit signalObjectUpdated(_id);
......@@ -350,12 +355,6 @@ void Core::slotEmptyObjectAdded ( int _id ) {
backupRequest(_id,"Original Object");
// get the opened object
BaseObjectData* object;
PluginFunctions::getObject(_id,object);
emit emptyObjectAdded( _id );
///@todo : set a default path for new objects
// QString filename = object->path() + OpenFlipper::Options::dirSeparator() + object->name();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment