fixed bug: listbox::sort_col doesn't update view

Calling listbox::sort_col to change the sort column doesn't update the viewport to reflect the change, forcing the user to call API::refresh_window or otherwise perform stupid tricks to force the listbox to refresh.
This commit is contained in:
ErrorFlynn 2019-08-20 05:32:36 -04:00 committed by GitHub
parent 69e559f657
commit b7a0874428
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5949,6 +5949,7 @@ namespace nana
{
internal_scope_guard lock;
_m_ess().lister.sort_column(col, &reverse);
_m_ess().update();
}
auto listbox::sort_col() const -> size_type