X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/38e13f8a93952ce2b1855a9a9abf2c442c000985..1109344c9409572f9829e46971b71a7fe1d3c8cc:/lib/gui/elistbox.cpp 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(); }