diff options
| author | Ronny Strutz <ronny.strutz@multimedia-labs.de> | 2005-10-08 00:02:54 +0000 |
|---|---|---|
| committer | Ronny Strutz <ronny.strutz@multimedia-labs.de> | 2005-10-08 00:02:54 +0000 |
| commit | af65678805cc6403be310606b8dcddc28fc1f046 (patch) | |
| tree | 40e3cae05386ffe3796243ccfa52dddd2517232c /lib/gui/elistboxcontent.cpp | |
| parent | 538edf5d148615f66a5f76fd64d6f19ded69d862 (diff) | |
| download | enigma2-af65678805cc6403be310606b8dcddc28fc1f046.tar.gz enigma2-af65678805cc6403be310606b8dcddc28fc1f046.zip | |
-setList() calls invalidate
-make invalidate in invalidate()
Diffstat (limited to 'lib/gui/elistboxcontent.cpp')
| -rw-r--r-- | lib/gui/elistboxcontent.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp index 63d94b09..35618786 100644 --- a/lib/gui/elistboxcontent.cpp +++ b/lib/gui/elistboxcontent.cpp @@ -365,6 +365,10 @@ void eListboxPythonStringContent::setList(PyObject *list) m_list = list; Py_INCREF(m_list); } + + //always invalidate when we get a new list + if (m_listbox) + m_listbox->invalidate(); } PyObject *eListboxPythonStringContent::getCurrentSelection() @@ -387,7 +391,7 @@ void eListboxPythonStringContent::invalidateEntry(int index) void eListboxPythonStringContent::invalidate() { if (m_listbox) - m_listbox->entryReset(); + m_listbox->invalidate(); } ////////////////////////////////////// |
