From: Felix Domke Date: Thu, 12 Apr 2007 15:10:20 +0000 (+0000) Subject: add comment X-Git-Tag: 2.6.0~2322 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/106b392046318fe414f071a63bbff9efe078204b add comment --- 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(); }