1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-13 15:57:14 +03:00

prefs: Plugins 'open', use config.plugin_dir_path, not the Tk var

This commit is contained in:
Athanasius 2021-05-27 16:35:36 +01:00
parent 186668ef4d
commit e58ee3dbce

View File

@ -821,7 +821,7 @@ class PreferencesDialog(tk.Toplevel):
nb.Button(
plugins_frame,
text=_('Open'), # Button that opens a folder in Explorer/Finder
command=lambda: webbrowser.open(f'file:///{plugdir.get()}')
command=lambda: webbrowser.open(f'file:///{config.plugin_dir_path}')
).grid(column=1, padx=(0, self.PADX), sticky=tk.NSEW, row=cur_row)
nb.Label(