satui/satapp/src/satappcommandhandler.cpp
changeset 27 7eb70891911c
parent 15 d7fc66ccd6fb
child 31 a2467631ae02
--- a/satui/satapp/src/satappcommandhandler.cpp	Thu May 27 13:23:05 2010 +0300
+++ b/satui/satapp/src/satappcommandhandler.cpp	Fri Jun 11 14:07:16 2010 +0300
@@ -123,9 +123,17 @@
             duration = KDisplayTxtUserClearTimeout;
         }
     } else {
-        // if duration  defined
+        TFLOGSTRING(
+        "SATAPP: SatAppCommandHandler::displayText duration given")
         duration = aDuration * 1000;
     }
+    
+    // If not sustained or Clear after delay requested start timer
+    if ( !(!aSustainedText || aDuration || !aWaitUserToClear) ){
+        TFLOGSTRING(
+        "SATAPP: SatAppCommandHandler::displayText no duration")
+        duration = 0;
+    }
     TFLOGSTRING2(
     "SATAPP: SatAppCommandHandler::displayText duration: %d", 
     duration)