From 09aaee025b0a2e68116a767e6adc301db83676ff Mon Sep 17 00:00:00 2001 From: akl Date: Wed, 23 Jan 2008 14:25:27 +0000 Subject: [PATCH] NPAL18624: problem with restoring the visual parameters of the cloned viewers. --- src/SalomeApp/SalomeApp_VisualState.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); -- 2.39.2