Parcourir la source

fixing bug where notify was not being set

logicp il y a 4 ans
Parent
commit
8a268c6fd9
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/argdialog.cpp

+ 1 - 1
src/argdialog.cpp

@@ -164,7 +164,7 @@ ArgDialog::ArgDialog(QWidget *parent) : QDialog(parent), ui(new Ui::ArgDialog),
 
   QObject::connect(ui->notification, &QComboBox::currentTextChanged, this, [this](const QString& text) {
     if (m_task->getType() == Scheduler::TaskType::GENERIC) {
-      m_task->setArgument("recurring", text.compare("Yes") == 0 ? true : false);
+      m_task->setArgument("notify", text.compare("Yes") == 0 ? true : false);
     }
   });
 }