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

This commit is contained in:
Athanasius committed 2021-05-27 16:35:36 +01:00
1 parent 186668ef4d
commit e58ee3dbce
1 file changed
+1 -1
+1 -1
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(