} // 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 )
//=====================================================================================
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() );
return false;
}
+ app->updateActions(); //SRN: To update a Save button in the toolbar
+
return true;
}