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

Set dropdown default to currently selected option

This commit is contained in:
A_D 2021-05-28 13:09:42 +02:00
parent 4c658577f4
commit 2dd80e8314
No known key found for this signature in database
GPG Key ID: 4BE9EB7DF45076C4

View File

@ -84,7 +84,7 @@ def plugin_prefs(parent: tk.Widget, cmdr: str, is_beta: bool) -> tk.Frame:
nb.OptionMenu(
conf_frame,
override_textvar,
_('Auto'),
override_textvar.get(),
_('Normal'), _('Beta'), _('Auto')
).grid(sticky=tk.W, row=cur_row, column=1, padx=PADX)
cur_row += 1