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:
71ea0f4
)
additional protection to avoid wrong study pointer if model was closed and new model...
author
ptv
<ptv@opencascade.com>
Thu, 10 Nov 2005 12:09:18 +0000
(12:09 +0000)
committer
ptv
<ptv@opencascade.com>
Thu, 10 Nov 2005 12:09:18 +0000
(12:09 +0000)
src/LightApp/LightApp_Module.cxx
patch
|
blob
|
history
diff --git
a/src/LightApp/LightApp_Module.cxx
b/src/LightApp/LightApp_Module.cxx
index 54835f7577f9f82ee50fc276c5f98530f3be692f..b3f1428cba03eac23f44f624b71e732dec3f617b 100644
(file)
--- a/
src/LightApp/LightApp_Module.cxx
+++ b/
src/LightApp/LightApp_Module.cxx
@@
-343,7
+343,11
@@
void LightApp_Module::startOperation( const int id )
}
if( op )
+ {
+ // be sure that operation has correct study pointer
+ op->setStudy( application() ? application()->activeStudy() : 0 );
op->start();
+ }
}
/*!