From 053449d5d4fa14497a72ff5da900bc742bc2fdb2 Mon Sep 17 00:00:00 2001 From: Twan van Laarhoven Date: Wed, 10 Jun 2020 00:47:58 +0200 Subject: [PATCH] Correct ascending/descending arrows when sorting card and keyword lists --- src/gui/control/item_list.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/control/item_list.cpp b/src/gui/control/item_list.cpp index 0af0921e..93f98ff3 100644 --- a/src/gui/control/item_list.cpp +++ b/src/gui/control/item_list.cpp @@ -198,7 +198,7 @@ void ItemList::sortBy(long column, bool ascending) { long count = GetColumnCount(); for (long i = 0 ; i < count ; ++i) { if (i == column) { - SetColumnImage(i, sort_ascending ? 0 : 1); // arrow up/down + SetColumnImage(i, ascending ? 0 : 1); // arrow up/down } else if (i == sort_by_column) { SetColumnImage(i, -1); }