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:
parent
69e559f657
commit
b7a0874428
@ -5949,6 +5949,7 @@ namespace nana
|
|||||||
{
|
{
|
||||||
internal_scope_guard lock;
|
internal_scope_guard lock;
|
||||||
_m_ess().lister.sort_column(col, &reverse);
|
_m_ess().lister.sort_column(col, &reverse);
|
||||||
|
_m_ess().update();
|
||||||
}
|
}
|
||||||
|
|
||||||
auto listbox::sort_col() const -> size_type
|
auto listbox::sort_col() const -> size_type
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user