]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
Ignore message from DS when study is closed from GUI.
authorakl <alexander.kovalev@opencascade.com>
Tue, 23 Sep 2014 11:21:20 +0000 (15:21 +0400)
committerakl <alexander.kovalev@opencascade.com>
Tue, 23 Sep 2014 11:21:20 +0000 (15:21 +0400)
src/SalomeApp/SalomeApp_Application.cxx

index 69aa10eb2d2cf1c8a3c9018bf3d59927e7d65d91..3698cff6b776266ecc96ef467c21055bf4a6018c 100644 (file)
@@ -672,8 +672,10 @@ void SalomeApp_Application::onCloseDoc( bool ask )
 
     }
   }
-
+  bool isBlocked = desktop()->signalsBlocked();
+  desktop()->blockSignals( true );
   LightApp_Application::onCloseDoc( ask );
+  desktop()->blockSignals( isBlocked );
 }
 
 /*!Sets enable or disable some actions on selection changed.*/