Sorting and filtering settings don't apply to arena, so remove them from the previews

This commit is contained in:
Faraphel 2022-08-14 15:02:38 +02:00
parent 1c55ced628
commit 20a7abadaf
2 changed files with 2 additions and 2 deletions

View file

@ -83,7 +83,7 @@ class Window(AbstractPreviewWindow):
return_lambda=True, lambda_args=["track"] return_lambda=True, lambda_args=["track"]
) )
for track in self.mod_config.get_all_arenas_tracks(ignore_filter=True): for track in self.mod_config.get_all_tracks(ignore_filter=True):
value: bool = template_func(track) is True value: bool = template_func(track) is True
self.text_track_select.insert(tkinter.END, f"{value}\n") self.text_track_select.insert(tkinter.END, f"{value}\n")

View file

@ -51,7 +51,7 @@ class Window(AbstractPreviewWindow):
template = self.entry_template_input.get() template = self.entry_template_input.get()
# insert all the tracks representation # insert all the tracks representation
for track in self.mod_config.get_all_arenas_tracks( for track in self.mod_config.get_all_tracks(
ignore_filter=True, ignore_filter=True,
sorting_template=template if template else None sorting_template=template if template else None
): ):