Explorar el Código

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

logicp hace 4 años
padre
commit
833bf5ea1a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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) {