]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Minor changes.
authoradv <adv@opencascade.com>
Thu, 26 Dec 2013 11:05:58 +0000 (11:05 +0000)
committeradv <adv@opencascade.com>
Thu, 26 Dec 2013 11:05:58 +0000 (11:05 +0000)
src/HYDROGUI/HYDROGUI_ProfileDlg.cxx

index 611e888f23d5589dbecef5ea1ba69e4f91fc435b..499e5ec74d4f589de2ba21498d30da8c49ecfe0e 100644 (file)
@@ -215,9 +215,12 @@ void HYDROGUI_ProfileDlg::onMouseMove( SUIT_ViewWindow* theViewWindow, QMouseEve
 
 bool HYDROGUI_ProfileDlg::eventFilter( QObject* theObj, QEvent* theEvent )
 {
-  if ( theObj->inherits( "OCCViewer_ViewPort" ) && 
-       theEvent->type() == QEvent::Leave ) {
-    myCoordLabel->clear();
+  if ( theObj->inherits( "OCCViewer_ViewPort" ) )
+  {
+    if ( theEvent->type() == QEvent::Leave )
+      myCoordLabel->clear();
+
+    return false;
   }
 
   return HYDROGUI_InputPanel::eventFilter( theObj, theEvent );