diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2007-04-12 15:10:20 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2007-04-12 15:10:20 +0000 |
| commit | 106b392046318fe414f071a63bbff9efe078204b (patch) | |
| tree | 6ce921d54a4c73eacab524f0f48fe6e42389d920 /lib/gui/elistbox.cpp | |
| parent | 2b6021b22bea4aacfec94140138c3f42262bf5fb (diff) | |
| download | enigma2-106b392046318fe414f071a63bbff9efe078204b.tar.gz enigma2-106b392046318fe414f071a63bbff9efe078204b.zip | |
add comment
Diffstat (limited to 'lib/gui/elistbox.cpp')
| -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(); } |
