Updated code to complete task id
[confmgr] / src / addstep.cpp
index bc05e5f..21e64b1 100644 (file)
@@ -26,3 +26,12 @@ void AddStep::clear()
     ui->addStepDelay->setText(QString::null);
     ui->addStepValue->setText(QString::null);
 }
+
+void AddStep::showStep(Steps &step)
+{
+    mStep = step;
+    clear();
+    ui->addStepDelay->setText(QString::number(mStep.delay()));
+    ui->addStepValue->setText(mStep.value());
+    this->show();
+}