From 9bb681b8008911b5de76f53b64360da4df573dea Mon Sep 17 00:00:00 2001 From: san Date: Thu, 20 Jan 2005 14:11:08 +0000 Subject: [PATCH] PAL7360 --- src/GEOMBase/GEOMBase_Helper.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/GEOMBase/GEOMBase_Helper.cxx b/src/GEOMBase/GEOMBase_Helper.cxx index 5bb5d91e8..69196f3aa 100755 --- a/src/GEOMBase/GEOMBase_Helper.cxx +++ b/src/GEOMBase/GEOMBase_Helper.cxx @@ -88,6 +88,9 @@ GEOMBase_Helper::GEOMBase_Helper() //================================================================ GEOMBase_Helper::~GEOMBase_Helper() { + if ( !QAD_Application::getDesktop() ) + return; + if ( myPreview.size() ) erasePreview(); if ( hasCommand() ) -- 2.39.2