From: stv Date: Thu, 28 Sep 2006 10:22:15 +0000 (+0000) Subject: Unnecessary popup menu separators were removed. X-Git-Tag: For_CTH_V1_2a~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=ad6fdcd3648e81e50cc1be7f976d0ce8972a6549;p=modules%2Fgui.git Unnecessary popup menu separators were removed. --- diff --git a/src/Qtx/QtxWorkstack.cxx b/src/Qtx/QtxWorkstack.cxx index 303b7317f..90829e4f1 100644 --- a/src/Qtx/QtxWorkstack.cxx +++ b/src/Qtx/QtxWorkstack.cxx @@ -948,6 +948,8 @@ void QtxWorkstack::onContextMenuRequested( QWidget* w, QPoint p ) myActionsMap[Rename]->addTo( pm ); } + Qtx::simplifySeparators( pm ); + if ( pm->count() ) pm->exec( p );