On Jul 25, 2:33 pm, Christian Heimes <li...@cheimes.de> wrote:
> Am 25.07.2011 14:00, schrieb Archard Lias:
>
> > def flags(self, index):
> >     if not index.isValid():
> >         return Qt.ItemIsEnabled
>
> >     return super(self.__class__, self).flags(index) |
>
> Your use of super() is incorrect and will not work as you might expect.
> You *must* use the class here, never self.__class__.
>
> Christian

It would be great if you could elaborate a little more on that. Am I
not supposed to access the parent here?

--
Archard
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to