From 392abf666224fcb5d265581949287c1bca77dee5 Mon Sep 17 00:00:00 2001 From: adv Date: Thu, 26 Dec 2013 11:05:58 +0000 Subject: [PATCH] Minor changes. --- src/HYDROGUI/HYDROGUI_ProfileDlg.cxx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx b/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx index 611e888f..499e5ec7 100644 --- a/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx +++ b/src/HYDROGUI/HYDROGUI_ProfileDlg.cxx @@ -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 ); -- 2.39.2