[PyQt] Big Trouble in Little QListWidget

James Polk jpolk5001 at yahoo.com
Tue Mar 8 00:16:41 GMT 2011

Somebody please put me out of my misery!...

Just a simple little QListWidget...

      temp1 = self.ScenesListView.currentItem()
      print temp1


       <PyQt4.QtGui.QListWidgetItem object at 0x00000000025089C8>

        print temp1.text()
       AttributeError: 'NoneType' object has no attribute 'text'

sheesh...is it me?...or is this plain nuts?...shouldn't be this hard to simply
query a list 

I would most graciously appreciate it if someone could clue me in,...

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20110307/48253025/attachment.html>

More information about the PyQt mailing list