mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-27 09:50:34 +05:00
BugID: 9377, modifed method closeEvent
This commit is contained in:
parent
2d00c4016f
commit
d43286833e
@ -177,7 +177,11 @@ void GEOMBase_Skeleton::ActivateThisDialog()
|
|||||||
//=================================================================================
|
//=================================================================================
|
||||||
void GEOMBase_Skeleton::closeEvent(QCloseEvent* e)
|
void GEOMBase_Skeleton::closeEvent(QCloseEvent* e)
|
||||||
{
|
{
|
||||||
disconnect( ((SalomeApp_Application*)(SUIT_Session::session()->activeApplication()))->selectionMgr(), 0, this, 0);
|
SalomeApp_Application* app = (SalomeApp_Application*)(SUIT_Session::session()->activeApplication());
|
||||||
|
if(app) {
|
||||||
|
disconnect( app->selectionMgr(), 0, this, 0);
|
||||||
|
app->updateActions();
|
||||||
|
}
|
||||||
QDialog::closeEvent( e );
|
QDialog::closeEvent( e );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user