projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
- minor bugfix (allow empty content)
[vuplus_dvbapp]
/
lib
/
gui
/
elistbox.cpp
diff --git
a/lib/gui/elistbox.cpp
b/lib/gui/elistbox.cpp
index
e06ab3e
..
5a9ee4d
100644
(file)
--- a/
lib/gui/elistbox.cpp
+++ b/
lib/gui/elistbox.cpp
@@
-10,7
+10,8
@@
void eListbox::setContent(iListboxContent *content)
{
m_content = content;
invalidate();
- m_content->cursorHome();
+ if (m_content)
+ m_content->cursorHome();
m_top = 0;
m_selected = 0;
}