mirror of
https://github.com/EDCD/EDMarketConnector.git
synced 2025-04-17 17:42:20 +03:00
prefs: Plugins 'open', use config.plugin_dir_path, not the Tk var
This commit is contained in:
parent
186668ef4d
commit
e58ee3dbce
2
prefs.py
2
prefs.py
@ -821,7 +821,7 @@ class PreferencesDialog(tk.Toplevel):
|
|||||||
nb.Button(
|
nb.Button(
|
||||||
plugins_frame,
|
plugins_frame,
|
||||||
text=_('Open'), # Button that opens a folder in Explorer/Finder
|
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)
|
).grid(column=1, padx=(0, self.PADX), sticky=tk.NSEW, row=cur_row)
|
||||||
|
|
||||||
nb.Label(
|
nb.Label(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user