moonlight-qt/app/gui/NavigableDialog.qml
Cameron Gutman 8d5072533f
Some checks failed
Build / setup (push) Has been cancelled
Build / build-appimage (push) Has been cancelled
Build / build-steamlink (push) Has been cancelled
Build / build-windows-macos (push) Has been cancelled
Fix polish() loop in the quit dialog
Fixes #1816
2026-02-07 22:01:26 -06:00

14 lines
329 B
QML

import QtQuick 2.0
import QtQuick.Controls 2.5
Dialog {
modal: true
anchors.centerIn: Overlay.overlay
onClosed: {
// We must force focus back to the last item. If we don't,
// gamepad and keyboard navigation will break after a
// dialog appears.
stackView.forceActiveFocus()
}
}