Can open window for database by clicking on the config in the connection tree.
This commit is contained in:
parent
b3a98f6dc0
commit
dbb6e1ab01
2 changed files with 4 additions and 2 deletions
|
|
@ -18,6 +18,8 @@ ConnectionManagerWindow::ConnectionManagerWindow(MasterController *master, QWidg
|
|||
{
|
||||
ui->setupUi(this);
|
||||
ui->treeView->setModel(m_connectionController->getConnectionTreeModel());
|
||||
connect(ui->treeView, &QTreeView::activated, this,
|
||||
&ConnectionManagerWindow::connectionActivated);
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -75,7 +77,7 @@ void ConnectionManagerWindow::on_actionManage_server_triggered()
|
|||
m_connectionController->openServerWindowForConnection(ci);
|
||||
}
|
||||
|
||||
void ConnectionManagerWindow::on_listView_activated(const QModelIndex &index)
|
||||
void ConnectionManagerWindow::connectionActivated(const QModelIndex &index)
|
||||
{
|
||||
if (index.isValid()) {
|
||||
m_connectionController->openSqlWindowForConnection(index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue