1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-06-12 05:12:13 +03:00

Output > 'File Location' should always be available

This commit is contained in:
norohind 2021-08-17 18:12:16 +03:00
parent 204d0429cb
commit 3e38965ef1
Signed by: norohind
GPG Key ID: 01C3BECC26FB59E1

View File

@ -1015,12 +1015,6 @@ class PreferencesDialog(tk.Toplevel):
self.out_td_button['state'] = tk.NORMAL
self.out_ship_button['state'] = tk.NORMAL
local = any((self.out_td.get(), self.out_csv.get(), self.out_ship.get()))
self.out_auto_button['state'] = tk.NORMAL if local and logvalid else tk.DISABLED
self.outdir_label['state'] = tk.NORMAL if local else tk.DISABLED
self.outbutton['state'] = tk.NORMAL if local else tk.DISABLED
self.outdir_entry['state'] = tk.NORMAL if local else tk.DISABLED
def filebrowse(self, title, pathvar):
"""
Open a directory selection dialog.