Salome HOME
0021883 [CEA 674] Deactivate pre-selection in OCC and VTK viewer
[modules/gui.git] / src / Qtx / QtxActionGroup.cxx
index 7b47de842fe7e422b1b32319cec15b0d933ac387..52e3bf688773e30b89d823ee06482f3dedaf9d25 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2013  CEA/DEN, EDF R&D, OPEN CASCADE
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -208,6 +208,15 @@ void QtxActionGroup::onTriggered( QAction* a )
   emit selected( a );
 }
 
+/*!
+  \brief Enable/disable action group
+*/
+void QtxActionGroup::setEnabled( bool on )
+{
+  QtxActionSet::setEnabled( on );
+  myActionGroup->setEnabled( on );
+}
+
 /*!
   \brief Update action group for the specified widget.
   \param w a widget this action group is added to