commit 2800dbbcf39bda029cd16a8e0368e30d36eb316c
parent c8cc1d662b0840efba9db7c875a803b06ee43b8b
Author: cfillion <cfillion@users.noreply.github.com>
Date: Wed, 24 Aug 2016 02:05:37 -0400
listview: restore sort arrow when creating the current sort column
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/listview.cpp b/src/listview.cpp
@@ -62,6 +62,9 @@ int ListView::addColumn(const Column &col)
ListView_InsertColumn(handle(), index, &item);
m_cols.push_back(col);
+ if(m_sort && m_sort->column == index)
+ setSortArrow(true);
+
return index;
}