File tree 3 files changed +18
-2
lines changed
3 files changed +18
-2
lines changed Original file line number Diff line number Diff line change @@ -108,13 +108,17 @@ ApplicationWindow {
108
108
109
109
Component {
110
110
id: desktopWallets
111
- DesktopWallets {}
111
+ DesktopWallets {
112
+ onAddWallet: {
113
+ main .push (createWalletWizard)
114
+ }
115
+ }
112
116
}
113
117
114
118
Component {
115
119
id: createWalletWizard
116
120
CreateWalletWizard {
117
- onFinished: {
121
+ onFinished: {
118
122
main .pop ()
119
123
}
120
124
}
Original file line number Diff line number Diff line change 19
19
20
20
ButtonGroup { id: navigationTabs }
21
21
22
+ signal addWallet ()
23
+
22
24
header: NavigationBar2 {
23
25
id: navBar
24
26
leftItem: WalletBadge {
@@ -40,6 +42,10 @@ Page {
40
42
closePolicy: Popup .CloseOnPressOutside
41
43
x: 0
42
44
y: parent .height
45
+
46
+ onAddWallet: {
47
+ root .addWallet ()
48
+ }
43
49
}
44
50
}
45
51
centerItem: RowLayout {
Original file line number Diff line number Diff line change @@ -16,6 +16,8 @@ Popup {
16
16
implicitWidth: 250
17
17
clip: true
18
18
19
+ signal addWallet ()
20
+
19
21
background: Item {
20
22
anchors .fill : parent
21
23
Rectangle {
@@ -90,6 +92,10 @@ Popup {
90
92
91
93
AddWalletButton {
92
94
id: addWallet
95
+ onClicked: {
96
+ root .addWallet ()
97
+ root .close ()
98
+ }
93
99
}
94
100
}
95
101
}
You can’t perform that action at this time.
0 commit comments