diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-11-15 21:29:53 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-11-15 21:29:53 +0000 |
| commit | 037dcdf29289cf4a67e3fd760a192ac305da3497 (patch) | |
| tree | e71e2d1cfe6586afca9d5db7e9c6812cc03b0485 /lib/gui/elistbox.cpp | |
| parent | 96573a19a9b13989785905817e7072ac6e25f795 (diff) | |
| download | enigma2-037dcdf29289cf4a67e3fd760a192ac305da3497.tar.gz enigma2-037dcdf29289cf4a67e3fd760a192ac305da3497.zip | |
draw entrys with backgroundcolor when the listbox is empty
Diffstat (limited to 'lib/gui/elistbox.cpp')
| -rw-r--r-- | lib/gui/elistbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gui/elistbox.cpp b/lib/gui/elistbox.cpp index 0d92e107..dc735f85 100644 --- a/lib/gui/elistbox.cpp +++ b/lib/gui/elistbox.cpp @@ -144,7 +144,7 @@ int eListbox::event(int event, void *data, void *data2) for (int y = 0, i = 0; i < m_items_per_page; y += m_itemheight, ++i) { - m_content->paint(painter, *style, ePoint(0, y), m_selected == m_content->cursorGet()); + m_content->paint(painter, *style, ePoint(0, y), m_selected == m_content->cursorGet() && m_content->size()); m_content->cursorMove(+1); } |
