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:
a920ff8
)
0023238: [CEA 1738] OCC Viewer outside SALOME window
author
imn
<imn@opencascade.com>
Fri, 19 Feb 2016 12:31:31 +0000
(15:31 +0300)
committer
imn
<imn@opencascade.com>
Fri, 19 Feb 2016 12:31:31 +0000
(15:31 +0300)
src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx
patch
|
blob
|
history
diff --git
a/src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx
b/src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx
index 389409921f543aa777a474b319c99e54c2b26f54..4cd4ff3ae98aa233ed53135b677e4b14818ed8d1 100644
(file)
--- a/
src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx
+++ b/
src/SALOME_PYQT/SalomePyQt/SalomePyQt.cxx
@@
-2714,7
+2714,8
@@
public:
QWidget* wnd = viewMgr->getActiveView();
myResult = viewMgr->getActiveView()->getId();
if ( wnd ) {
- wnd->setVisible(myVisible);
+ if ( !myVisible )
+ wnd->setVisible(false);
if ( !myVisible && myWidth == 0 && myHeight == 0 ) {
myWidth = 1024;
myHeight = 768;