Fix toolbar hiding in quit segue

This commit is contained in:
Cameron Gutman 2019-03-02 14:13:14 -08:00
commit 26d7946b4a

View file

@ -29,9 +29,6 @@ Item {
stackView.replace(segue)
}
else {
// Show the toolbar again
toolBar.visible = true
// Exit this view
stackView.pop()
}
@ -46,6 +43,9 @@ Item {
}
StackView.onDeactivating: {
// Show the toolbar again
toolBar.visible = true
// Disconnect the signal
ComputerManager.quitAppCompleted.disconnect(quitAppCompleted)
}