kopia lustrzana https://gitlab.com/eliggett/wfview
remove spaces when adding extra server users
rodzic
35316dcd04
commit
0becc4508f
|
@ -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);
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue