mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Fix toolbar hiding in quit segue
This commit is contained in:
@@ -29,9 +29,6 @@ Item {
|
|||||||
stackView.replace(segue)
|
stackView.replace(segue)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
// Show the toolbar again
|
|
||||||
toolBar.visible = true
|
|
||||||
|
|
||||||
// Exit this view
|
// Exit this view
|
||||||
stackView.pop()
|
stackView.pop()
|
||||||
}
|
}
|
||||||
@@ -46,6 +43,9 @@ Item {
|
|||||||
}
|
}
|
||||||
|
|
||||||
StackView.onDeactivating: {
|
StackView.onDeactivating: {
|
||||||
|
// Show the toolbar again
|
||||||
|
toolBar.visible = true
|
||||||
|
|
||||||
// Disconnect the signal
|
// Disconnect the signal
|
||||||
ComputerManager.quitAppCompleted.disconnect(quitAppCompleted)
|
ComputerManager.quitAppCompleted.disconnect(quitAppCompleted)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user