diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-12-12 19:18:19 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2005-12-12 19:18:19 +0000 |
| commit | 7a8fff2da5f732bad0beaf934e7a20395b4921bd (patch) | |
| tree | ddc904ee56769a8355c747522f0bd93556160441 /lib/gui/elistboxcontent.cpp | |
| parent | 4e182b8bb929d63b9e3952524b3e39470ab26442 (diff) | |
| download | enigma2-7a8fff2da5f732bad0beaf934e7a20395b4921bd.tar.gz enigma2-7a8fff2da5f732bad0beaf934e7a20395b4921bd.zip | |
add scrollbar to listbox
Diffstat (limited to 'lib/gui/elistboxcontent.cpp')
| -rw-r--r-- | lib/gui/elistboxcontent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp index 362a3f84..dea72a6c 100644 --- a/lib/gui/elistboxcontent.cpp +++ b/lib/gui/elistboxcontent.cpp @@ -246,6 +246,7 @@ void eListboxStringContent::setList(std::list<std::string> &list) m_list = list; m_size = list.size(); cursorHome(); + m_listbox->entryReset(); } ////////////////////////////////////// @@ -366,9 +367,8 @@ void eListboxPythonStringContent::setList(PyObject *list) Py_INCREF(m_list); } - //always invalidate when we get a new list if (m_listbox) - m_listbox->invalidate(); + m_listbox->entryReset(); } PyObject *eListboxPythonStringContent::getCurrentSelection() |
