]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Correct closing of QxScene View. V5_1_1rc2
authordmv <dmv@opencascade.com>
Tue, 10 Mar 2009 08:04:54 +0000 (08:04 +0000)
committerdmv <dmv@opencascade.com>
Tue, 10 Mar 2009 08:04:54 +0000 (08:04 +0000)
src/QxScene/QxScene_ViewWindow.cxx

index 169694bb27e7341629c817512ac97650030e15c1..0e1435cd8cc36dbd50f10e9f8f5868549f9fbf10 100644 (file)
@@ -276,7 +276,7 @@ SUIT_ResourceMgr* QxScene_ViewWindow::resMgr() const
 bool QxScene_ViewWindow::closeRequested()
 {
   DEBTRACE("QxScene_ViewWindow::closeRequested");
-  bool isClosed = false;
+  bool isClosed = true;
   emit tryClose(isClosed, this);
   DEBTRACE("isClosed=" << isClosed);
   return isClosed;