From: vsv Date: Wed, 24 Oct 2018 13:32:06 +0000 (+0300) Subject: Provide Auto-apply management for Salome desktop X-Git-Tag: V9_2_0a2~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5b3e2dcbeaab327ec60e6cb01b3107d5fbaf25bf;p=modules%2Fshaper.git Provide Auto-apply management for Salome desktop --- diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 90e33e315..7e5f8bf3c 100755 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -436,10 +436,10 @@ void XGUI_Workshop::initMenu() aAction = salomeConnector()->addDesktopCommand("AUTOCOMPUTE_CMD", tr("Block auto-apply"), tr("Blocks immediate apply of modifications"), QIcon(":pictures/autoapply.png"), QKeySequence(), - true, "MEN_DESK_EDIT"); + false, "MEN_DESK_EDIT"); salomeConnector()->addActionInToolbar( aAction, aToolBarTitle ); - connect(aAction, SIGNAL(toggled(bool)), this, SLOT(onAutoApply(bool))); + connect(aAction, SIGNAL(triggered(bool)), this, SLOT(onAutoApply())); salomeConnector()->addDesktopMenuSeparator("MEN_DESK_EDIT");