Salome HOME
projects
/
modules
/
gui.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1f2a4b4
)
DisplayOnly and EraseAll operations do not need the modules which are not yet present...
author
vsr
<vsr@opencascade.com>
Wed, 27 Sep 2017 13:41:19 +0000
(16:41 +0300)
committer
vsr
<vsr@opencascade.com>
Wed, 27 Sep 2017 13:41:19 +0000
(16:41 +0300)
src/SALOME_SWIG/SALOMEGUI_Swig.cxx
patch
|
blob
|
history
diff --git
a/src/SALOME_SWIG/SALOMEGUI_Swig.cxx
b/src/SALOME_SWIG/SALOMEGUI_Swig.cxx
index bcd1e54adb8368ae41521dcacf05f8860f04e6da..c6b25bdaddce4ba376b61fee700b01a343914b59 100644
(file)
--- a/
src/SALOME_SWIG/SALOMEGUI_Swig.cxx
+++ b/
src/SALOME_SWIG/SALOMEGUI_Swig.cxx
@@
-484,7
+484,7
@@
void SALOMEGUI_Swig::DisplayOnly( const char* theEntry )
QStringList comps;
aStudy->components( comps );
foreach( QString comp, comps ) {
QStringList comps;
aStudy->components( comps );
foreach( QString comp, comps ) {
- LightApp_Displayer* d = LightApp_Displayer::FindDisplayer( anApp->moduleTitle( comp ),
tru
e );
+ LightApp_Displayer* d = LightApp_Displayer::FindDisplayer( anApp->moduleTitle( comp ),
fals
e );
if ( d ) d->EraseAll( false, false, 0 );
}
if ( d ) d->EraseAll( false, false, 0 );
}
@@
-594,7
+594,7
@@
void SALOMEGUI_Swig::EraseAll()
QStringList comps;
aStudy->components( comps );
foreach( QString comp, comps ) {
QStringList comps;
aStudy->components( comps );
foreach( QString comp, comps ) {
- LightApp_Displayer* d = LightApp_Displayer::FindDisplayer( anApp->moduleTitle( comp ),
tru
e );
+ LightApp_Displayer* d = LightApp_Displayer::FindDisplayer( anApp->moduleTitle( comp ),
fals
e );
if ( d ) d->EraseAll( false, false, 0 );
}
}
if ( d ) d->EraseAll( false, false, 0 );
}
}