From: akl Date: Wed, 23 Jan 2008 14:25:27 +0000 (+0000) Subject: NPAL18624: problem with restoring the visual parameters of the cloned viewers. X-Git-Tag: for_M2008_07022008~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=09aaee025b0a2e68116a767e6adc301db83676ff;p=modules%2Fgui.git NPAL18624: problem with restoring the visual parameters of the cloned viewers. --- diff --git a/src/SalomeApp/SalomeApp_VisualState.cxx b/src/SalomeApp/SalomeApp_VisualState.cxx index dab9a907e..08afaedda 100644 --- a/src/SalomeApp/SalomeApp_VisualState.cxx +++ b/src/SalomeApp/SalomeApp_VisualState.cxx @@ -217,13 +217,13 @@ void SalomeApp_VisualState::restoreState(int savePoint) //Resize the views, set their captions and apply visual parameters. QPtrVector views = vm->getViews(); - for (int i = 0, j = 0; iisVisible() ) + while ( !vm->isVisible() ) qApp->processEvents(); viewWin->setCaption(ip->getValue(viewerEntry, j).c_str());