Kirigami: Don't clear the stack when changing devices from finddevice page

It allows simpler navigation and it doesn't show the weird behavior we
used to have.
This commit is contained in:
Aleix Pol 2018-06-08 01:49:35 +02:00
parent 6d8fa21572
commit 61d3d6c1a1

View file

@ -61,7 +61,6 @@ Kirigami.Page
label: display + "\n" + toolTip
enabled: !(status & DevicesModel.Paired)
onClicked: {
pageStack.clear()
pageStack.push(
deviceComp,
{currentDevice: device}