From: Felix Domke Date: Fri, 20 May 2005 19:33:43 +0000 (+0000) Subject: - skip first field in flexible python listbox to allow having private data. X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=34c3f1a742135c764ced560e8479e77129082301;ds=sidebyside - skip first field in flexible python listbox to allow having private data. --- diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp index 54e3a24..94ad0bc 100644 --- a/lib/gui/elistboxcontent.cpp +++ b/lib/gui/elistboxcontent.cpp @@ -456,7 +456,7 @@ void eListboxPythonMultiContent::paint(gPainter &painter, eWindowStyle &style, c } int size = PyList_Size(items); - for (int i = 0; i < size; ++i) + for (int i = 1; i < size; ++i) { PyObject *item = PyList_GetItem(items, i); // borrowed reference!