Add seperate actions for adding and removing connection groups.
This commit is contained in:
parent
dbb6e1ab01
commit
521d3cdaac
10 changed files with 105 additions and 4 deletions
|
|
@ -89,3 +89,14 @@ void ConnectionManagerWindow::on_actionConfigure_connection_triggered()
|
|||
auto ci = ui->treeView->selectionModel()->currentIndex();
|
||||
m_connectionController->editConnection(ci);
|
||||
}
|
||||
|
||||
void ConnectionManagerWindow::on_actionAdd_group_triggered()
|
||||
{
|
||||
m_connectionController->addGroup();
|
||||
}
|
||||
|
||||
void ConnectionManagerWindow::on_actionRemove_group_triggered()
|
||||
{
|
||||
auto ci = ui->treeView->selectionModel()->currentIndex();
|
||||
m_connectionController->removeGroup(ci);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue