]> SALOME platform Git repositories - modules/gui.git/commitdiff
Salome HOME
no message
authorstv <stv@opencascade.com>
Thu, 27 Oct 2005 10:23:18 +0000 (10:23 +0000)
committerstv <stv@opencascade.com>
Thu, 27 Oct 2005 10:23:18 +0000 (10:23 +0000)
src/Qtx/QtxMRUAction.cxx

index 4e0074bc4bdd920a076938d6f0aa0d6ee9293b68..191ba6185bd0f6fdff81a501868bb4c179365fef 100755 (executable)
@@ -473,7 +473,7 @@ void QtxMRUAction::onActivated( int id )
 
 void QtxMRUAction::onDestroyed( QObject* obj )
 {
-  if ( !obj || !obj->inherits( "QPopupMenu" ) )
+  if ( !obj )
     return;
 
   myItems.remove( (QPopupMenu*)obj );