Salome HOME
Fix for bug 10438: Crash during Explode on Blocks operation (Global selection on...
[modules/gui.git] / src / SUIT / SUIT_Application.cxx
index f9d210d5527226be6fa2b377f45edcf612ad43e4..38082005581f8c940770b37fbf0aa0c73e2d7d2e 100755 (executable)
@@ -99,7 +99,8 @@ void SUIT_Application::putInfo ( const QString& msg, const int msec )
       desktop()->statusBar()->addWidget(myStatusLabel, /*int stretch = */1);
     }
     myStatusLabel->setText(msg);
-    QTimer::singleShot(msec <= 0 ? DEFAULT_MESSAGE_DELAY : msec, myStatusLabel, SLOT(clear()));
+    if( msec != -1 )
+      QTimer::singleShot(msec <= 0 ? DEFAULT_MESSAGE_DELAY : msec, myStatusLabel, SLOT(clear()));
   }
 }