File tree 1 file changed +10
-11
lines changed
1 file changed +10
-11
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,6 @@ Rectangle {
168
168
if (background !== discoveryPage) {
169
169
background .parent = main;
170
170
background .z = 1000 ;
171
- background .visible = false ;
172
171
}
173
172
}
174
173
@@ -198,6 +197,16 @@ Rectangle {
198
197
easing .type : Easing .InCubic ;
199
198
}
200
199
}
200
+
201
+ /* This timer is a workaround to make the discoveryPage invisible in QML designer */
202
+ Timer {
203
+ interval: 10
204
+ repeat: false
205
+ running: discoveryPage .active
206
+ onTriggered: {
207
+ discoveryPage .visible = true ;
208
+ }
209
+ }
201
210
}
202
211
203
212
/* the default discovery page, overlays the window as long as Machinetalk is not ready */
@@ -253,16 +262,6 @@ Rectangle {
253
262
}
254
263
}
255
264
256
- /* This timer is a workaround to make the discoveryPage invisible in QML designer */
257
- Timer {
258
- interval: 10
259
- repeat: false
260
- running: true
261
- onTriggered: {
262
- background .visible = true ;
263
- }
264
- }
265
-
266
265
state: ready ? " connected" : " disconnected"
267
266
268
267
states: [
You can’t perform that action at this time.
0 commit comments