diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/gui/elistbox.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/gui/elistbox.cpp b/lib/gui/elistbox.cpp index 3c188ad6..c21f363f 100644 --- a/lib/gui/elistbox.cpp +++ b/lib/gui/elistbox.cpp @@ -58,6 +58,9 @@ void eListbox::setContent(iListboxContent *content) if (content) m_content->setListbox(this); entryReset(); + /* if oldsel != m_selected, selectionChanged was already + emitted in entryReset. we want it in any case, so otherwise, + emit it now. */ if (oldsel == m_selected) /* emit */ selectionChanged(); } |
