]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
to avoid exception
authorptv <ptv@opencascade.com>
Wed, 15 Nov 2006 08:55:06 +0000 (08:55 +0000)
committerptv <ptv@opencascade.com>
Wed, 15 Nov 2006 08:55:06 +0000 (08:55 +0000)
src/Qtx/QtxPopupMgr.cxx

index 5f0df3de8722740d81f1a42c6d16b30e64c9daea..3b3dc81311badf2f9722f209001784c5eb7290f0 100644 (file)
@@ -637,6 +637,7 @@ void QtxPopupMgr::updatePopup( QPopupMenu* p, Selection* sel )
   qDebug( QString( "number of objects = %1" ).arg( myCurrentSelection->count() ) );
 
   delete myCurrentSelection;
+  myCurrentSelection = 0;
 }
 
 /*!