]> SALOME platform Git repositories - modules/jobmanager.git/commitdiff
Salome HOME
Set default refresh to 30s.
authorOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Tue, 30 Jan 2018 16:23:33 +0000 (17:23 +0100)
committerOvidiu Mircescu <ovidiu.mircescu@edf.fr>
Tue, 30 Jan 2018 16:23:33 +0000 (17:23 +0100)
src/genericgui/BL_JobsManager_QT.cxx

index c36862fcc9023561471e3980eceec730bbc0bd39..138f867b1c9c3abf4887fcc20f7ad2e1017f034b 100644 (file)
@@ -68,9 +68,10 @@ BL::JobsManager_QT::JobsManager_QT(QWidget * parent, BL::GenericGui * main_gui,
   connect(_load_jobs, SIGNAL(clicked()), this, SLOT(load_jobs_button()));
   connect(_save_jobs, SIGNAL(clicked()), this, SLOT(save_jobs_button()));
 
-  _auto_refresh_jobs = new QPushButton("Auto Refresh: no");
+  _auto_refresh_jobs = new QPushButton("Auto Refresh: 30s");
   _timer = new QTimer(this);
   _timer->stop();
+  _timer->start(30 * 1000);
   connect(_timer, SIGNAL(timeout()), this, SLOT(RefreshJobs()));
 
   // Menu for auto refresh