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:
47ed403
)
avoid creation of multiples instances of viewers
author
Paul RASCLE
<paul.rascle@edf.fr>
Mon, 20 Mar 2017 20:59:13 +0000
(21:59 +0100)
committer
Paul RASCLE
<paul.rascle@edf.fr>
Mon, 20 Mar 2017 20:59:13 +0000
(21:59 +0100)
src/STD/STD_Application.cxx
patch
|
blob
|
history
diff --git
a/src/STD/STD_Application.cxx
b/src/STD/STD_Application.cxx
index d252e149199e4b51c1f7d1fcbe4bab3f99aed980..d5751cf34375739c676065e273484fb79e720913 100755
(executable)
--- a/
src/STD/STD_Application.cxx
+++ b/
src/STD/STD_Application.cxx
@@
-726,7
+726,7
@@
SUIT_ViewManager* STD_Application::viewManager( const QString& vmType ) const
SUIT_ViewManager* vm = 0;
for ( QList<SUIT_ViewManager*>::const_iterator it = myViewMgrs.begin(); it != myViewMgrs.end() && !vm; ++it )
{
- if ( (*it)->getType() == vmType )
+ if ( (*it)->getType() == vmType
&& !(*it)->getDetached()
)
vm = *it;
}
return vm;