瀏覽代碼

setting arg type to first index upon clear/default

logicp 5 年之前
父節點
當前提交
8833515779
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/argdialog.cpp

+ 1 - 0
src/argdialog.cpp

@@ -198,6 +198,7 @@ void ArgDialog::clearPost() {
     m_ig_post.requested_by.clear();
     m_ig_post.promote_share = "Share the post through IG story if you enjoy the phrase 🙋‍♀️";
     m_ig_post.requested_by_phrase = "The phrase was requested by ";
+    ui->argType->setCurrentIndex(0);
 }
 
 void ArgDialog::clearTask() {