]> SALOME platform Git repositories - modules/geom.git/commitdiff
Salome HOME
PAL7360
authorsan <san@opencascade.com>
Thu, 20 Jan 2005 14:11:08 +0000 (14:11 +0000)
committersan <san@opencascade.com>
Thu, 20 Jan 2005 14:11:08 +0000 (14:11 +0000)
src/GEOMBase/GEOMBase_Helper.cxx

index 5bb5d91e811bdd473f0322e8af9203919f48919f..69196f3aae28f775da4af600c6af032a96a894da 100755 (executable)
@@ -88,6 +88,9 @@ GEOMBase_Helper::GEOMBase_Helper()
 //================================================================
 GEOMBase_Helper::~GEOMBase_Helper()
 {
+  if ( !QAD_Application::getDesktop()  )
+    return;
+
   if ( myPreview.size() )
     erasePreview();
   if ( hasCommand() )