Prevent double-clicks from triggering pairing twice. Fixes #286

This commit is contained in:
Cameron Gutman 2019-11-04 19:30:38 -08:00
parent 13eed48877
commit 1669095fb1

View File

@ -235,6 +235,12 @@ CenteredGridView {
NavigableMessageDialog {
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
property string pin : "0000"
text:"Please enter " + pin + " on your GameStream PC. This dialog will close when pairing is completed."