From 38a49327b909765c26958515cc6688179e91b29d Mon Sep 17 00:00:00 2001 From: Cedric Staniewski Date: Thu, 3 Apr 2025 23:45:24 +0200 Subject: [PATCH] Sort runtime filter list It was implemented before in #84, but was lost in the 2.0 rewrite. --- src/host_info.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/host_info.py b/src/host_info.py index d982309..a5b8611 100644 --- a/src/host_info.py +++ b/src/host_info.py @@ -382,6 +382,9 @@ class HostInfo: if not runtime in this.dependent_runtime_refs: this.dependent_runtime_refs.append(runtime) + # store runtimes in sorted order + this.dependent_runtime_refs = sorted(this.dependent_runtime_refs) + except subprocess.CalledProcessError as cpe: this.main_window.toast_overlay.add_toast(ErrorToast(_("Could not load packages"), cpe.stderr).toast) except Exception as e: