mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-04-13 11:16:10 +00:00
Hide the toolbar when the StreamSegue page is visible
This commit is contained in:
@@ -52,6 +52,9 @@ Item {
|
||||
|
||||
onVisibleChanged: {
|
||||
if (visible) {
|
||||
// Hide the toolbar before we start loading
|
||||
toolBar.visible = false
|
||||
|
||||
// Hook up our signals
|
||||
session.stageStarting.connect(stageStarting)
|
||||
session.stageFailed.connect(stageFailed)
|
||||
@@ -68,6 +71,10 @@ Item {
|
||||
// Exit this view
|
||||
stackView.pop()
|
||||
}
|
||||
else {
|
||||
// Show the toolbar again when we become hidden
|
||||
toolBar.visible = true
|
||||
}
|
||||
}
|
||||
|
||||
Row {
|
||||
|
||||
@@ -36,6 +36,7 @@ ApplicationWindow {
|
||||
}
|
||||
|
||||
header: ToolBar {
|
||||
id: toolBar
|
||||
|
||||
RowLayout {
|
||||
spacing: 20
|
||||
|
||||
Reference in New Issue
Block a user