My problem was solved by modifying the data() method of the StringsModel. This 
method needs to check for the EditRole as well as the DisplayRole as shown 
below.

    if role in [Qt.DisplayRole, Qt.EditRole]:
      return QVariant(self.strings[index.row()])

Thanks,
Tom

_______________________________________________
PyKDE mailing list    PyKDE@mats.imk.fraunhofer.de
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to