Salome HOME
projects
/
modules
/
hydro.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2272503
)
patch for exception if overview window is hidden
author
asl
<asl@opencascade.com>
Fri, 1 Dec 2017 13:00:40 +0000
(16:00 +0300)
committer
asl
<asl@opencascade.com>
Fri, 1 Dec 2017 13:00:40 +0000
(16:00 +0300)
src/HYDROGUI/HYDROGUI_Overview.cxx
patch
|
blob
|
history
diff --git
a/src/HYDROGUI/HYDROGUI_Overview.cxx
b/src/HYDROGUI/HYDROGUI_Overview.cxx
index bc809703f433f68c82e3be656123c6c455761bbd..d236e332725cfa099f71647dfd79bca637056578 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_Overview.cxx
+++ b/
src/HYDROGUI/HYDROGUI_Overview.cxx
@@
-389,7
+389,7
@@
void HYDROGUI_Overview::OnTransformation()
QPoint HYDROGUI_Overview::fromMain( int xp, int yp ) const
{
- if( !myMainView || !myViewPort )
+ if( !myMainView || !myViewPort
|| !myViewPort->isVisible()
)
return QPoint();
const double EPS = 1E-2;