Explorar o código

setting arg type to first index upon clear/default

logicp %!s(int64=5) %!d(string=hai) anos
pai
achega
8833515779
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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() {