]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
Fix for auto rebuild in Salome case
authorvsv <vsv@opencascade.com>
Fri, 19 Oct 2018 08:13:03 +0000 (11:13 +0300)
committervsv <vsv@opencascade.com>
Fri, 19 Oct 2018 08:13:03 +0000 (11:13 +0300)
src/XGUI/XGUI_Workshop.cpp

index 4c93fca0855bd0449502de9196c96e5ce0b33b8d..313d66d1f56ff209d134d6df73f5d9f3c48f936b 100755 (executable)
@@ -2839,7 +2839,7 @@ void XGUI_Workshop::updateAutoComputeState()
   bool isComputeBlocked = aMgr->isAutoUpdateBlocked();
 #ifdef HAVE_SALOME
   QAction* aUpdateCmd;
-  QList<QAction*> aCommands = workshop()->salomeConnector()->commandList();
+  QList<QAction*> aCommands = mySalomeConnector->commandList();
   foreach(QAction* aCmd, aCommands) {
     if (aCmd->data().toString() == "AUTOCOMPUTE_CMD") {
       aUpdateCmd = aCmd;