mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 04:48:00 +01:00
Made it possible to enter 'q' and 'Q' into dialog edit fields.
This commit is contained in:
@@ -927,6 +927,7 @@ class appGUI():
|
|||||||
event, button, col, row,
|
event, button, col, row,
|
||||||
focus=True)
|
focus=True)
|
||||||
continue
|
continue
|
||||||
|
k = self.frame.keypress(self.size,k)
|
||||||
if self.diag:
|
if self.diag:
|
||||||
if k == 'esc' or k == 'q' or k == 'Q':
|
if k == 'esc' or k == 'q' or k == 'Q':
|
||||||
self.restore_primary()
|
self.restore_primary()
|
||||||
@@ -935,7 +936,6 @@ class appGUI():
|
|||||||
self.diag.save_settings()
|
self.diag.save_settings()
|
||||||
self.restore_primary()
|
self.restore_primary()
|
||||||
break
|
break
|
||||||
self.frame.keypress(self.size,k)
|
|
||||||
if k == "window resize":
|
if k == "window resize":
|
||||||
self.size = ui.get_cols_rows()
|
self.size = ui.get_cols_rows()
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user