From abd2f7f0fc23b74f93801dfba6c494831da0657e Mon Sep 17 00:00:00 2001 From: Jonathan Harris Date: Mon, 31 Jul 2017 23:15:30 +0100 Subject: [PATCH] Fix input field editability --- plugins/edsm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/edsm.py b/plugins/edsm.py index b53678cb..923820d9 100644 --- a/plugins/edsm.py +++ b/plugins/edsm.py @@ -121,7 +121,7 @@ def prefs_cmdr_changed(cmdr, is_beta): this.label['state'] = this.cmdr_label['state'] = this.cmdr_text['state'] = this.user_label['state'] = this.user['state'] = this.apikey_label['state'] = this.apikey['state'] = cmdr and not is_beta and this.log.get() and tk.NORMAL or tk.DISABLED def prefsvarchanged(): - this.user_label['state'] = this.user['state'] = this.apikey_label['state'] = this.log.get() and tk.NORMAL or tk.DISABLED + this.label['state'] = this.cmdr_label['state'] = this.cmdr_text['state'] = this.user_label['state'] = this.user['state'] = this.apikey_label['state'] = this.apikey['state'] = this.log.get() and this.log_button['state'] or tk.DISABLED def prefs_changed(cmdr, is_beta): this.system_label['text'] = _('System') + ':' # Main window