Commit 0b36923b authored by Matthias Möller's avatar Matthias Möller

- use OF signals for object updates

- invoke of ""viewAll" moved from the end of the reader to "openedFile" slot, as every reader invoked it but openedFile just, if only one object was loaded
- prepares asnyc load

refs #2421

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@20986 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ab238a9c
......@@ -623,12 +623,9 @@ void Core::slotFileOpened ( int _id ) {
PluginFunctions::getObject(_id,object2);
// ================================================================================
// if this is the first object opend, reset the global view
// show all files
// ================================================================================
if ( PluginFunctions::objectCount() == 1 && OpenFlipper::Options::gui() && !OpenFlipper::Options::sceneGraphUpdatesBlocked() )
for ( unsigned int i = 0 ; i < OpenFlipper::Options::examinerWidgets() ; ++i ) {
coreWidget_->examiner_widgets_[i]->viewAll();
}
PluginFunctions::viewAll();
// objectRoot_->dumpTree();
}
......
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