From b5f7584c2b9155721916de1cfd78d6806e5d0fe3 Mon Sep 17 00:00:00 2001 From: Andrew Psaltis Date: Fri, 10 Apr 2009 22:33:40 -0400 Subject: [PATCH] Made it possible to enter 'q' and 'Q' into dialog edit fields. --- curses/wicd-curses.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curses/wicd-curses.py b/curses/wicd-curses.py index c4e8274..a8ce2dfb 100755 --- a/curses/wicd-curses.py +++ b/curses/wicd-curses.py @@ -927,6 +927,7 @@ class appGUI(): event, button, col, row, focus=True) continue + k = self.frame.keypress(self.size,k) if self.diag: if k == 'esc' or k == 'q' or k == 'Q': self.restore_primary() @@ -935,7 +936,6 @@ class appGUI(): self.diag.save_settings() self.restore_primary() break - self.frame.keypress(self.size,k) if k == "window resize": self.size = ui.get_cols_rows() continue