This commit is contained in:
san 2005-01-20 14:11:08 +00:00
parent ca429d817a
commit 9bb681b800

View File

@ -88,6 +88,9 @@ GEOMBase_Helper::GEOMBase_Helper()
//================================================================ //================================================================
GEOMBase_Helper::~GEOMBase_Helper() GEOMBase_Helper::~GEOMBase_Helper()
{ {
if ( !QAD_Application::getDesktop() )
return;
if ( myPreview.size() ) if ( myPreview.size() )
erasePreview(); erasePreview();
if ( hasCommand() ) if ( hasCommand() )