Browse Source

android back button pops pages from stackview unless we reach

bottom of stack
patch-4
Sander van Grieken 3 years ago
parent
commit
e30cb4ed5f
  1. 5
      electrum/gui/qml/components/main.qml

5
electrum/gui/qml/components/main.qml

@ -196,10 +196,15 @@ ApplicationWindow
} }
onClosing: { onClosing: {
if (stack.depth > 1) {
close.accepted = false
stack.pop()
} else {
// destroy most GUI components so that we don't dump so many null reference warnings on exit // destroy most GUI components so that we don't dump so many null reference warnings on exit
app.header.visible = false app.header.visible = false
mainStackView.clear() mainStackView.clear()
} }
}
Connections { Connections {
target: Daemon target: Daemon

Loading…
Cancel
Save