Minor code relocation
This commit is contained in:
1 parent
cce367b955
commit
98f166d94d
1 file changed
+1
-2
@@ -1645,6 +1645,7 @@ class SettingsPanel:
|
||||
ttk.Checkbutton(
|
||||
checkboxes_frame, variable=self._vars["autostart"], command=self.update_autostart
|
||||
).grid(column=1, row=irow, sticky="w")
|
||||
self._vars["autostart"].set(self._query_autostart())
|
||||
if sys.platform != "darwin":
|
||||
ttk.Label(
|
||||
checkboxes_frame, text=_("gui", "settings", "general", "tray")
|
||||
@@ -1843,8 +1844,6 @@ class SettingsPanel:
|
||||
command=self._manager._twitch.state_change(State.INVENTORY_FETCH),
|
||||
).grid(column=1, row=0)
|
||||
|
||||
self._vars["autostart"].set(self._query_autostart())
|
||||
|
||||
def clear_selection(self) -> None:
|
||||
self._priority_list.selection_clear(0, "end")
|
||||
self._exclude_list.selection_clear(0, "end")
|
||||
|
||||
Reference in new issue
Block a user