When editing connection the dialog is now initialized on the correct connection group.

This commit is contained in:
eelke 2019-09-01 06:44:48 +02:00
parent 2823297482
commit 0fb1d89aee
4 changed files with 18 additions and 4 deletions

View file

@ -63,6 +63,7 @@ public:
/// Create a new group in the DB and place in the tree
std::variant<int, QSqlError> addGroup(QString group_name);
std::optional<QSqlError> removeGroup(int row);
int findGroup(int conngroup_id) const;
private:
using Groups = QVector<std::shared_ptr<ConnectionGroup>>;