From: adv Date: Thu, 26 Dec 2013 11:05:58 +0000 (+0000) Subject: Minor changes. X-Git-Tag: BR_hydro_v_0_7~37 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=392abf666224fcb5d265581949287c1bca77dee5;p=modules%2Fhydro.git Minor changes. --- 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 );