projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98a85fc
)
listbox: check selection after changing size
author
Felix Domke
<tmbinc@elitedvb.net>
Tue, 13 Dec 2005 12:15:21 +0000
(12:15 +0000)
committer
Felix Domke
<tmbinc@elitedvb.net>
Tue, 13 Dec 2005 12:15:21 +0000
(12:15 +0000)
lib/gui/elistbox.cpp
patch
|
blob
|
history
diff --git
a/lib/gui/elistbox.cpp
b/lib/gui/elistbox.cpp
index
d9fa30f
..
8da691b
100644
(file)
--- a/
lib/gui/elistbox.cpp
+++ b/
lib/gui/elistbox.cpp
@@
-247,7
+247,6
@@
int eListbox::event(int event, void *data, void *data2)
case evtChangedSize:
recalcSize();
return eWidget::event(event, data, data2);
-
case evtAction:
if (isVisible())
{
@@
-265,6
+264,7
@@
void eListbox::recalcSize()
m_content_changed=true;
m_content->setSize(eSize(size().width(), m_itemheight));
m_items_per_page = size().height() / m_itemheight;
+ moveSelection(justCheck);
}
void eListbox::setItemHeight(int h)