Skip to content

Commit 939916e

Browse files
committed
show sort order in UI (#38)
1 parent d7e086c commit 939916e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

source/interface_derived.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,9 @@ void MainFrameDerived::OnColumnClick(wxListEvent& event) {
725725
}
726726

727727
SortProjects();
728+
// update UI
729+
const bool ascending = projectsList->GetUpdatedAscendingSortIndicator(col);
730+
projectsList->ShowSortIndicator(col, ascending);
728731
}
729732

730733
// Sort comparison function

0 commit comments

Comments
 (0)