From: ptv Date: Wed, 15 Nov 2006 08:55:06 +0000 (+0000) Subject: to avoid exception X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=faa0f19296ec9f51ea1bd731fc52357603849235;p=modules%2Fgui.git to avoid exception --- diff --git a/src/Qtx/QtxPopupMgr.cxx b/src/Qtx/QtxPopupMgr.cxx index 5f0df3de8..3b3dc8131 100644 --- a/src/Qtx/QtxPopupMgr.cxx +++ b/src/Qtx/QtxPopupMgr.cxx @@ -637,6 +637,7 @@ void QtxPopupMgr::updatePopup( QPopupMenu* p, Selection* sel ) qDebug( QString( "number of objects = %1" ).arg( myCurrentSelection->count() ) ); delete myCurrentSelection; + myCurrentSelection = 0; } /*!