diff options
| -rw-r--r-- | lib/gui/elistboxcontent.cpp | 6 | ||||
| -rw-r--r-- | lib/gui/elistboxcontent.h | 1 | ||||
| -rw-r--r-- | lib/python/Screens/Satconfig.py | 1 |
3 files changed, 8 insertions, 0 deletions
diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp index f94765ef..63d94b09 100644 --- a/lib/gui/elistboxcontent.cpp +++ b/lib/gui/elistboxcontent.cpp @@ -384,6 +384,12 @@ void eListboxPythonStringContent::invalidateEntry(int index) m_listbox->entryChanged(index); } +void eListboxPythonStringContent::invalidate() +{ + if (m_listbox) + m_listbox->entryReset(); +} + ////////////////////////////////////// void eListboxPythonConfigContent::paint(gPainter &painter, eWindowStyle &style, const ePoint &offset, int selected) diff --git a/lib/gui/elistboxcontent.h b/lib/gui/elistboxcontent.h index cfd0f155..11a9d080 100644 --- a/lib/gui/elistboxcontent.h +++ b/lib/gui/elistboxcontent.h @@ -84,6 +84,7 @@ public: PyObject *getCurrentSelection(); int getCurrentSelectionIndex() { return m_cursor; } void invalidateEntry(int index); + void invalidate(); #ifndef SWIG protected: void cursorHome(); diff --git a/lib/python/Screens/Satconfig.py b/lib/python/Screens/Satconfig.py index 09acebdd..6313fb7f 100644 --- a/lib/python/Screens/Satconfig.py +++ b/lib/python/Screens/Satconfig.py @@ -49,6 +49,7 @@ class NimSetup(Screen): #??? self["config"].list = self.list self["config"].l.setList(self.list) + self["config"].l.invalidate() def newConfig(self): if self["config"].getCurrent()[0] == "Diseqcmode": |
