src/hbcore/gui/hbtooltip.cpp
changeset 6 c3690ec91ef8
parent 0 16d8024aca5e
child 23 e6ad4ef83b23
child 34 ed14f46c0e55
--- a/src/hbcore/gui/hbtooltip.cpp	Fri Jun 11 13:58:22 2010 +0300
+++ b/src/hbcore/gui/hbtooltip.cpp	Wed Jun 23 18:33:25 2010 +0300
@@ -138,7 +138,12 @@
 void HbToolTip::hideText( HbGraphicsScene *scene )
 {
     if ( scene && scene->d_ptr->mToolTip) {
-        scene->d_ptr->mToolTip->hide();
+        if (scene->d_ptr->mToolTip->isVisible()) {
+            scene->d_ptr->mToolTip->hide();
+        } else {
+            //reset tooltip timers
+            scene->d_ptr->mToolTip->hideTextImmediately();
+        }
     }
 }