From 671f58e7eccae355403def0124a6d934f4de496c Mon Sep 17 00:00:00 2001 From: Andreas Eknes Lie Date: Wed, 11 Sep 2024 11:54:34 +0200 Subject: [PATCH] Make filters sorted --- src/ert/gui/tools/plot/filter_popup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ert/gui/tools/plot/filter_popup.py b/src/ert/gui/tools/plot/filter_popup.py index 23915ee04e0..721d6307b13 100644 --- a/src/ert/gui/tools/plot/filter_popup.py +++ b/src/ert/gui/tools/plot/filter_popup.py @@ -43,7 +43,7 @@ def __init__( self.__layout.addWidget(QLabel("Filter by datatype:")) filters = {k.metadata["data_origin"] for k in key_defs} - for f in filters: + for f in sorted(filters): self.addFilterItem(f, f) if any(k.history_vector for k in key_defs):