}
}
+ qApp->processEvents( QEventLoop::ExcludeUserInputEvents, 5000 );
+
// restore modules' visual parameters
std::vector<std::string> v = ip->getValues( "AP_MODULES_LIST" );
for ( int i = 0; i < v.size(); i++ )
// so the same views will get the same names.
nameViewWindows( lst );
- qApp->processEvents();
+ qApp->processEvents( QEventLoop::ExcludeUserInputEvents, 5000 );
// restore workstack parameters. should be done after module's restoreVisualParameters(), because
// some modules can create their own viewers (like VISU creates GaussViewers)