1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-17 17:42:20 +03:00

Merge pull request #1253 from norohind/fix/744/file-location-should-always-be-available

Output > 'File Location' should always be available
This commit is contained in:
Athanasius 2021-08-19 12:50:44 +01:00 committed by GitHub
commit 76e08e52d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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.