mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-02 07:46:07 +00:00
Prevent double-clicks from triggering pairing twice. Fixes #286
This commit is contained in:
parent
13eed48877
commit
1669095fb1
@ -235,6 +235,12 @@ CenteredGridView {
|
|||||||
|
|
||||||
NavigableMessageDialog {
|
NavigableMessageDialog {
|
||||||
id: pairDialog
|
id: pairDialog
|
||||||
|
|
||||||
|
// Pairing dialog must be modal to prevent double-clicks from triggering
|
||||||
|
// pairing twice
|
||||||
|
modal: true
|
||||||
|
closePolicy: Popup.CloseOnEscape
|
||||||
|
|
||||||
// don't allow edits to the rest of the window while open
|
// don't allow edits to the rest of the window while open
|
||||||
property string pin : "0000"
|
property string pin : "0000"
|
||||||
text:"Please enter " + pin + " on your GameStream PC. This dialog will close when pairing is completed."
|
text:"Please enter " + pin + " on your GameStream PC. This dialog will close when pairing is completed."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user