remove spaces when adding extra server users

merge-requests/5/head
Phil Taylor 2021-06-10 22:32:53 +01:00
rodzic 35316dcd04
commit 0becc4508f
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -91,7 +91,7 @@ void udpServerSetup::on_usersTable_cellClicked(int row, int col)
{
qInfo() << "Clicked on " << row << "," << col;
if (row == ui->usersTable->model()->rowCount() - 1 && ui->usersTable->item(row, 0) != NULL) {
addUserLine(" ", " ", 0);
addUserLine("", "", 0);
}
}
@ -124,4 +124,4 @@ void udpServerSetup::addUserLine(const QString& user, const QString& pass, const
comboBox->setCurrentIndex(type);
ui->usersTable->setCellWidget(ui->usersTable->rowCount() - 1, 2, comboBox);
}
}