From: dmv Date: Tue, 10 Mar 2009 08:04:54 +0000 (+0000) Subject: Correct closing of QxScene View. X-Git-Tag: V5_1_1rc2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=1f25eefd2b7b699f3cb4abd51f2d2899f982fd82;p=modules%2Fgui.git Correct closing of QxScene View. --- diff --git a/src/QxScene/QxScene_ViewWindow.cxx b/src/QxScene/QxScene_ViewWindow.cxx index 169694bb2..0e1435cd8 100644 --- a/src/QxScene/QxScene_ViewWindow.cxx +++ b/src/QxScene/QxScene_ViewWindow.cxx @@ -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;