summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2014-08-14 13:41:59 -0300
committerTomás Touceda <chiiph@leap.se>2014-08-14 13:41:59 -0300
commit96f9849eb62f0240d9c49be55b0fafb366553c10 (patch)
tree4a54099b653840aa11f8d13863e45324cdfbf490
parentd1fba2fc4f032336b5c48bb16e6c4a83c24a4d50 (diff)
parent919f29542ff7f2efd9cdd6232fee0eb395fa4f9c (diff)
Merge remote-tracking branch 'refs/remotes/ivan/bug/esc-default-to-no' into develop
-rw-r--r--changes/bug-5819_default-esc-to-no1
-rw-r--r--src/leap/bitmask/platform_init/initializers.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/changes/bug-5819_default-esc-to-no b/changes/bug-5819_default-esc-to-no
new file mode 100644
index 00000000..4dc1f6a2
--- /dev/null
+++ b/changes/bug-5819_default-esc-to-no
@@ -0,0 +1 @@
+- Pressing ESC on 'install helper files' defaults to No. Closes #5819.
diff --git a/src/leap/bitmask/platform_init/initializers.py b/src/leap/bitmask/platform_init/initializers.py
index e4d6f9b3..f56b9330 100644
--- a/src/leap/bitmask/platform_init/initializers.py
+++ b/src/leap/bitmask/platform_init/initializers.py
@@ -106,6 +106,7 @@ def get_missing_helpers_dialog():
msg.setStandardButtons(QtGui.QMessageBox.Yes | QtGui.QMessageBox.No)
msg.addButton("No, don't ask again", QtGui.QMessageBox.RejectRole)
msg.setDefaultButton(QtGui.QMessageBox.Yes)
+ msg.setEscapeButton(QtGui.QMessageBox.No)
return msg