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:
parent
e4a43a77bd
commit
b3352b8496
2 changed files with 10 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue