// License along with this library; if not, write to the Free Software
// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//
-// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
+// See http://www.salome-platform.org/ or
+// email : webmaster.salome@opencascade.com<mailto:webmaster.salome@opencascade.com>
//
#include "XGUI_ErrorMgr.h"
{
XGUI_ActionsMgr* anActionsMgr = workshop()->actionsMgr();
QAction* anAcceptAction = anActionsMgr->operationStateAction(XGUI_ActionsMgr::Accept);
+ QAction* anAcceptPlusAction =
+ anActionsMgr->operationStateAction(XGUI_ActionsMgr::AcceptPlus);
if (myAcceptAllToolTip.isEmpty() && myAcceptToolTip.isEmpty())
storeInitialActionValues();
bool anEnabled = theError.isEmpty();
anAcceptAction->setEnabled(anEnabled);
+ anAcceptPlusAction->setEnabled(anEnabled);
anAcceptAction->setToolTip(anEnabled ? myAcceptToolTip : theError);
anAcceptAction->setStatusTip(anEnabled ? myAcceptStatusTip : theError);
// some operations have no property panel, so it is important to check that it is not null