From 34c3f1a742135c764ced560e8479e77129082301 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Fri, 20 May 2005 19:33:43 +0000 Subject: [PATCH] - skip first field in flexible python listbox to allow having private data. --- lib/gui/elistboxcontent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gui/elistboxcontent.cpp b/lib/gui/elistboxcontent.cpp index 54e3a24d..94ad0bcb 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! -- 2.30.2