A few small fixes to connection window
This commit is contained in:
@@ -85,6 +85,7 @@ void ConnectionWindow::showEvent(QShowEvent* event)
|
||||
QDialog::showEvent(event);
|
||||
qDebug() << "Show connectionwindow";
|
||||
ui->tableConnections->selectRow(0);
|
||||
currentRowChanged(ui->tableConnections->currentIndex(), ui->tableConnections->currentIndex());
|
||||
}
|
||||
|
||||
|
||||
@@ -462,6 +463,10 @@ void ConnectionWindow::loadConnections()
|
||||
/* add connection to model */
|
||||
connModel->add(conn_p);
|
||||
}
|
||||
|
||||
if (connModel->rowCount() > 0) {
|
||||
ui->tableConnections->selectRow(0);
|
||||
}
|
||||
}
|
||||
|
||||
void ConnectionWindow::saveConnections()
|
||||
|
||||
Reference in New Issue
Block a user