From dba614edd2aad3c17e244914eaef3809d8300cb1 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Sun, 27 Feb 2005 02:20:31 +0000 Subject: - hopefully fixed some python/refcount stuff (__deref__ is still evil!) - first work on skin support, not really far - improved infobar - deletes components when destroying screens - fixed elistbox and component - add ability to change bouqet - real query parser still unfinished --- lib/service/listboxservice.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/service/listboxservice.cpp') diff --git a/lib/service/listboxservice.cpp b/lib/service/listboxservice.cpp index 881047df..647dbdb9 100644 --- a/lib/service/listboxservice.cpp +++ b/lib/service/listboxservice.cpp @@ -3,6 +3,7 @@ void eListboxServiceContent::setRoot(const eServiceReference &root) { + m_list.clear(); m_root = root; assert(m_service_center); @@ -16,6 +17,9 @@ void eListboxServiceContent::setRoot(const eServiceReference &root) m_size = m_list.size(); cursorHome(); + + if (m_listbox) + m_listbox->entryReset(); } void eListboxServiceContent::getCurrent(eServiceReference &ref) -- cgit v1.2.3