From: vsv Date: Fri, 19 Oct 2018 08:13:03 +0000 (+0300) Subject: Fix for auto rebuild in Salome case X-Git-Tag: V9_2_0a2~10 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=99aeba9e9b3a1144c68c9a6945c356a349a3a50a;p=modules%2Fshaper.git Fix for auto rebuild in Salome case --- diff --git a/src/XGUI/XGUI_Workshop.cpp b/src/XGUI/XGUI_Workshop.cpp index 4c93fca08..313d66d1f 100755 --- a/src/XGUI/XGUI_Workshop.cpp +++ b/src/XGUI/XGUI_Workshop.cpp @@ -2839,7 +2839,7 @@ void XGUI_Workshop::updateAutoComputeState() bool isComputeBlocked = aMgr->isAutoUpdateBlocked(); #ifdef HAVE_SALOME QAction* aUpdateCmd; - QList aCommands = workshop()->salomeConnector()->commandList(); + QList aCommands = mySalomeConnector->commandList(); foreach(QAction* aCmd, aCommands) { if (aCmd->data().toString() == "AUTOCOMPUTE_CMD") { aUpdateCmd = aCmd;