소스 검색

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() {