From 8f59a4d50e7f50e96c195a7fa86a91624dc7a1fc Mon Sep 17 00:00:00 2001 From: ribes Date: Wed, 12 Oct 2011 07:59:49 +0000 Subject: [PATCH] Job Tab keeps the same tab when you select a new job --- src/genericgui/BL_JobTab.cxx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/genericgui/BL_JobTab.cxx b/src/genericgui/BL_JobTab.cxx index 765b443..2f577eb 100644 --- a/src/genericgui/BL_JobTab.cxx +++ b/src/genericgui/BL_JobTab.cxx @@ -167,9 +167,7 @@ BL::JobTab::job_selected(const QModelIndex & index) { BL::Job * job = _jobs_manager->getJob(item_name->text().toStdString()); - // create a new tab - // to be replaced if it is too long - createJobSummaryTab(); + reset(""); _job_name_label_value->setText(QString(job->getName().c_str())); @@ -309,6 +307,4 @@ BL::JobTab::reset(QString job_name) _yacs_dump_state_value->setText(""); _batch_queue_value->setText(""); _ll_jobtype_value->setText(""); - - createJobSummaryTab(); } -- 2.39.2