additional protection to avoid wrong study pointer if model was closed and new model created in same module
additional protection to avoid wrong study pointer if model was closed and new model created in same module

FedoraScientific/salome-gui,FedoraScientific/salome-gui,FedoraScientific/salome-gui,FedoraScientific/salome-gui,FedoraScientific/salome-gui,FedoraScientific/salome-gui