diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-10-26 11:11:56 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2007-10-26 11:11:56 +0000 |
| commit | 9cebdd89e6dc9660adf6c34c12da99b6fdc6a016 (patch) | |
| tree | 893e8b815e0b79a26482e94cf6c083ecf76a9044 /lib/gui/elistboxcontent.cpp | |
| parent | fb1e03cf013bb255146c445e5f2c748bab21b6d8 (diff) | |
| download | enigma2-9cebdd89e6dc9660adf6c34c12da99b6fdc6a016.tar.gz enigma2-9cebdd89e6dc9660adf6c34c12da99b6fdc6a016.zip | |
small fix (no visible selection in tuner configuration in start wizzard)
Diffstat (limited to 'lib/gui/elistboxcontent.cpp')
| -rw-r--r-- | lib/gui/elistboxcontent.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp index 7c192a03..8331ca11 100644 --- a/lib/gui/elistboxcontent.cpp +++ b/lib/gui/elistboxcontent.cpp @@ -165,8 +165,10 @@ void eListboxPythonStringContent::paint(gPainter &painter, eWindowStyle &style, painter.clear(); } else { - if (local_style && local_style->m_background) + if (local_style->m_background) painter.blit(local_style->m_background, offset, eRect(), gPainter::BT_ALPHATEST); + else if (selected && !local_style->m_selection) + painter.clear(); } if (m_list && cursorValid()) @@ -284,8 +286,10 @@ void eListboxPythonConfigContent::paint(gPainter &painter, eWindowStyle &style, painter.clear(); } else { - if (local_style && local_style->m_background) + if (local_style->m_background) painter.blit(local_style->m_background, offset, eRect(), gPainter::BT_ALPHATEST); + else if (selected && !local_style->m_selection) + painter.clear(); } if (m_list && cursorValid()) |
