Database window can now be opened from within the connection manager by

double clicking a connection or pressing enter when a connection is selected.
This commit is contained in:
eelke 2019-08-19 19:32:40 +02:00
parent e4a43a77bd
commit b3352b8496
2 changed files with 10 additions and 0 deletions

View file

@ -140,3 +140,11 @@ void ConnectionManagerWindow::on_actionManage_server_triggered()
}
void ConnectionManagerWindow::on_listView_activated(const QModelIndex &index)
{
if (index.isValid()) {
auto r = static_cast<size_t>(index.row());
m_connectionController->openSqlWindowForConnection(r);
}
}