diff options
Diffstat (limited to 'iw/blpasswidget.py')
-rw-r--r-- | iw/blpasswidget.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iw/blpasswidget.py b/iw/blpasswidget.py index d1a72a8d6..e23e07dc9 100644 --- a/iw/blpasswidget.py +++ b/iw/blpasswidget.py @@ -132,7 +132,7 @@ class BootloaderPasswordWidget: while 1: rc = dialog.run() - if rc == 2: + if rc in [2, gtk.RESPONSE_DELETE_EVENT]: break if pwEntry.get_text() != confirmEntry.get_text(): |