From b7ddcd7d3a8ae93ec13b9d21c9ca9e6fb5523548 Mon Sep 17 00:00:00 2001 From: ErrorFlynn Date: Mon, 15 Apr 2019 13:00:04 -0400 Subject: [PATCH] fix for issue #420 --- source/gui/widgets/listbox.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/gui/widgets/listbox.cpp b/source/gui/widgets/listbox.cpp index 29105225..3e127628 100644 --- a/source/gui/widgets/listbox.cpp +++ b/source/gui/widgets/listbox.cpp @@ -5455,9 +5455,12 @@ namespace nana internal_scope_guard lock; if (_m_ess().lister.enable_ordered(enable)) + { _m_ess().update(); + return true; + } - return true; + return false; } void listbox::auto_draw(bool enabled) noexcept