Remember active connection instead of loading first connection

Fix #122
This commit is contained in:
Carl Schwan
2020-12-04 23:16:21 +01:00
parent 7ed41a8f68
commit 7d8e344842
3 changed files with 21 additions and 1 deletions

View File

@@ -20,6 +20,9 @@ Kirigami.ScrollablePage {
delegate: Kirigami.SwipeListItem {
leftPadding: 0
rightPadding: 0
action: Kirigami.Action {
onTriggered: Controller.activeConnection = model.connection
}
Kirigami.BasicListItem {
anchors.top: parent.top
anchors.bottom: parent.bottom