Browse Source

clearing user list so names aren`t duplicated upon re-opening argdialog

logicp 4 years ago
parent
commit
833bf5ea1a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/argdialog.cpp

+ 1 - 0
src/argdialog.cpp

@@ -164,6 +164,7 @@ void ArgDialog::showEvent(QShowEvent* event) {
     }
 
     if (m_config.contains("users")) {
+      ui->user->clear();
       ui->user->addItems(configValueToQList("users", m_config));
     }
     if (ui->user->count() > 0) {