From 8715199c4d3484e3805bf3894e9d68ac50e0a4ef Mon Sep 17 00:00:00 2001 From: asl Date: Mon, 11 Jul 2005 03:48:45 +0000 Subject: [PATCH] setStudy is called from setModule method --- src/SalomeApp/SalomeApp_Operation.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/SalomeApp/SalomeApp_Operation.cxx b/src/SalomeApp/SalomeApp_Operation.cxx index 1bfaeefca..e8177867b 100755 --- a/src/SalomeApp/SalomeApp_Operation.cxx +++ b/src/SalomeApp/SalomeApp_Operation.cxx @@ -56,6 +56,7 @@ void SalomeApp_Operation::setModule( SalomeApp_Module* theModule ) { myModule = theModule; setApplication( myModule ? myModule->application() : 0 ); + setStudy( application() ? application()->activeStudy() : 0 ); } //======================================================================= @@ -255,5 +256,3 @@ void SalomeApp_Operation::setAutoResumed( const bool on ) { myIsAutoResumed = on; } - - \ No newline at end of file -- 2.39.2