On Wed, 28 Apr 2010 17:53:58 +0200, Yann Cointepas <[email protected]>
wrote:
> With PyQt 4.7.2 (Qt 4.6.2, sip 4.10), it is not possible to load the
> attached ui file. The problem happens whenever a value is inserted in a
> QTableWidget with designer. It used to work with PyQt 4.3.3.
Silly typo - fix attached.
Thanks,
Phil
diff -r 24210f941584 pyuic/uic/uiparser.py
--- a/pyuic/uic/uiparser.py Sun Apr 25 22:55:03 2010 +0100
+++ b/pyuic/uic/uiparser.py Thu Apr 29 10:38:40 2010 +0100
@@ -557,7 +557,7 @@
col = int(elem.attrib["column"])
if text:
- w.item(row, col).setText(text)
+ item.setText(text)
if icon:
item.setIcon(icon)
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt