Salome HOME
projects
/
modules
/
gui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8faac81
)
From Community Forum: Save/Load incorrectly works if there are several Python modules...
author
vsr
<vsr@opencascade.com>
Wed, 17 Feb 2021 16:01:31 +0000
(19:01 +0300)
committer
vsr
<vsr@opencascade.com>
Wed, 17 Feb 2021 16:01:31 +0000
(19:01 +0300)
src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx
patch
|
blob
|
history
diff --git
a/src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx
b/src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx
index e0c141ed9543a090793cc255907b38e0b89fe73a..fc38de052c3d606bc0570aedde0a0e54045ee1a1 100644
(file)
--- a/
src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx
+++ b/
src/SALOME_PYQT/SALOME_PYQT_GUILight/SALOME_PYQT_PyModule.cxx
@@
-1716,15
+1716,11
@@
QString PyModuleHelper::engineIOR() const
QString& myIOR;
};
- static QString anIOR;
-
- if ( anIOR.isEmpty() ) {
- // post request
- PyInterp_Dispatcher::Get()->Exec( new EngineIORReq( myInterp,
- const_cast<PyModuleHelper*>( this ),
- anIOR ) );
- }
-
+ QString anIOR;
+ // post request
+ PyInterp_Dispatcher::Get()->Exec( new EngineIORReq( myInterp,
+ const_cast<PyModuleHelper*>( this ),
+ anIOR ) );
return anIOR;
}