aboutsummaryrefslogtreecommitdiff
path: root/lib/gui/elistboxcontent.cpp
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-11-19 23:58:58 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-11-19 23:58:58 +0000
commitea9231ad7229f47ebf117a3b4894a9e4e7a3c40a (patch)
treec1c41afba1d73b43eca5f21421f150bc3b91be0f /lib/gui/elistboxcontent.cpp
parent03660c34322e7cdb315bd6ed87cecc68d14214c8 (diff)
downloadenigma2-ea9231ad7229f47ebf117a3b4894a9e4e7a3c40a.tar.gz
enigma2-ea9231ad7229f47ebf117a3b4894a9e4e7a3c40a.zip
update scrollbar in timerlist when a entry is removed
Diffstat (limited to 'lib/gui/elistboxcontent.cpp')
-rw-r--r--lib/gui/elistboxcontent.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp
index fd7341a9..191bc7e1 100644
--- a/lib/gui/elistboxcontent.cpp
+++ b/lib/gui/elistboxcontent.cpp
@@ -262,7 +262,8 @@ void eListboxPythonStringContent::invalidate()
int s = size();
if ( m_cursor >= s )
m_listbox->moveSelectionTo(s?s-1:0);
- m_listbox->invalidate();
+ else
+ m_listbox->invalidate();
}
}
@@ -1021,3 +1022,9 @@ void eListboxPythonMultiContent::updateClip(gRegion &clip)
else
m_old_clip = m_clip = gRegion::invalidRegion();
}
+
+void eListboxPythonMultiContent::entryRemoved(int idx)
+{
+ if (m_listbox)
+ m_listbox->entryRemoved(idx);
+}