1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-22 05:48:03 +01:00

Do nothing if the user makes a connection attempt while scanning.

This commit is contained in:
Andrew Psaltis
2009-06-24 19:10:30 -04:00
parent 1cd377f15f
commit 5f14b7a7fa

View File

@@ -822,6 +822,7 @@ class appGUI():
self.frame.set_body(self.diag) self.frame.set_body(self.diag)
self.diag_type = 'conf' self.diag_type = 'conf'
if "enter" in keys or 'C' in keys: if "enter" in keys or 'C' in keys:
if not self.scanning:
focus = self.frame.body.get_focus() focus = self.frame.body.get_focus()
if focus == self.wiredCB: if focus == self.wiredCB:
self.special = focus self.special = focus