mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-27 21:10:32 +05:00
Added an update of the toolbar after the Import operation.
This commit is contained in:
parent
5646516f46
commit
eca46466f2
@ -349,7 +349,7 @@ void GEOMToolsGUI::OnEditDelete()
|
||||
} // if ( selected not empty )
|
||||
} // if ( selMgr && appStudy )
|
||||
|
||||
app->updateActions(); //SRN: BugID IPAL9377, case 1 for GEOM module
|
||||
app->updateActions(); //SRN: To update a Save button in the toolbar
|
||||
|
||||
} // if ( app )
|
||||
|
||||
@ -403,7 +403,8 @@ void GEOMToolsGUI::OnEditCopy()
|
||||
//=====================================================================================
|
||||
bool GEOMToolsGUI::Import()
|
||||
{
|
||||
SUIT_Application* app = getGeometryGUI()->getApp();
|
||||
SalomeApp_Application* app = dynamic_cast< SalomeApp_Application* >( getGeometryGUI()->getApp() );
|
||||
//SUIT_Application* app = getGeometryGUI()->getApp();
|
||||
if (! app) return false;
|
||||
|
||||
SalomeApp_Study* stud = dynamic_cast<SalomeApp_Study*> ( app->activeStudy() );
|
||||
@ -493,6 +494,8 @@ bool GEOMToolsGUI::Import()
|
||||
return false;
|
||||
}
|
||||
|
||||
app->updateActions(); //SRN: To update a Save button in the toolbar
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user