Salome HOME
Merge branch V7_3_1_BR
[modules/gui.git] / src / SalomeApp / SalomeApp_IntSpinBox.cxx
index 4460cd446b317a634f9605c6f2b8816398ce2f21..1e57bd3fafdae0079a2cc9bc8e8c110b16d68e82 100644 (file)
@@ -388,7 +388,7 @@ SalomeApp_IntSpinBox::SearchState SalomeApp_IntSpinBox::findVariable( const QStr
 #ifndef DISABLE_PYCONSOLE
               PyConsole_Console* pyConsole = app->pythonConsole();
               PyConsole_Interp* pyInterp = pyConsole->getInterp();
-              PyLockWrapper aLock = pyInterp->GetLockWrapper();
+              PyLockWrapper aLock; // Acquire GIL
               std::string command;
               command  = "import salome_notebook ; ";
               command += "salome_notebook.notebook.setAsInteger(\"";