From: asl Date: Mon, 11 Jul 2005 03:48:45 +0000 (+0000) Subject: setStudy is called from setModule method X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8715199c4d3484e3805bf3894e9d68ac50e0a4ef;p=modules%2Fgui.git setStudy is called from setModule method --- 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