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 authored and GitHub committed 2021-08-19 12:50:44 +01:00
commit 76e08e52d7
1 file changed
-6
-6
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.