Salome HOME
projects
/
modules
/
gui.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correction of Fix of INTPAL0052217: TC7.3.0:SIGSEGV when update study in NoteBook
[modules/gui.git]
/
src
/
LightApp
/
LightApp_Application.cxx
diff --git
a/src/LightApp/LightApp_Application.cxx
b/src/LightApp/LightApp_Application.cxx
index c7ec9f7db585f786c64583d40e2087ec83e31711..1461178bc5a1dd770dce329664f633379986cfa5 100644
(file)
--- a/
src/LightApp/LightApp_Application.cxx
+++ b/
src/LightApp/LightApp_Application.cxx
@@
-1171,15
+1171,6
@@
void LightApp_Application::onSelectionChanged()
action( EditPasteId )->setEnabled(canPaste);
}
action( EditPasteId )->setEnabled(canPaste);
}
-/*! Reset tree view model */
-void LightApp_Application::onCloseDoc( bool ask )
-{
- if ( SUIT_DataBrowser* ob = objectBrowser() )
- ob->setModel(0);
-
- CAM_Application::onCloseDoc( ask );
-}
-
/*!
Adds window to application.
\param wid - QWidget
/*!
Adds window to application.
\param wid - QWidget
@@
-1836,6
+1827,9
@@
void LightApp_Application::onPreferenceChanged( QString& modName, QString& secti
/*!Remove all windows from study.*/
void LightApp_Application::beforeCloseDoc( SUIT_Study* s )
{
/*!Remove all windows from study.*/
void LightApp_Application::beforeCloseDoc( SUIT_Study* s )
{
+ if ( SUIT_DataBrowser* ob = objectBrowser() )
+ ob->setModel(0);
+
CAM_Application::beforeCloseDoc( s );
}
CAM_Application::beforeCloseDoc( s );
}