git.cweiske.de
/
enigma2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2b6021b
)
add comment
author
Felix Domke
<tmbinc@elitedvb.net>
Thu, 12 Apr 2007 15:10:20 +0000
(15:10 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Thu, 12 Apr 2007 15:10:20 +0000
(15:10 +0000)
lib/gui/elistbox.cpp
patch
|
blob
|
history
diff --git
a/lib/gui/elistbox.cpp
b/lib/gui/elistbox.cpp
index 3c188ad601c3ad9a864265f3fe3f9e3271233495..c21f363f4b9dd6a13b499e30687adfbeb63c77d9 100644
(file)
--- 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 (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();
}
if (oldsel == m_selected)
/* emit */ selectionChanged();
}