pygpibtoolkit/HP3562A/datablockwidget.py

changeset 69
879083ec2355
parent 66
2a97995628a3
child 89
61074a32808a
--- a/pygpibtoolkit/HP3562A/datablockwidget.py	Thu Aug 21 19:52:54 2008 +0200
+++ b/pygpibtoolkit/HP3562A/datablockwidget.py	Thu Aug 21 19:53:22 2008 +0200
@@ -104,8 +104,9 @@
             item = QtGui.QTableWidgetItem()
             item.setFlags(Qt.ItemIsSelectable | Qt.ItemIsEnabled)
             for i, row in enumerate(header_struct):
-                key = row[0]
-                typ = row[1]
+                pname = row[0]
+                key = row[1]
+                typ = row[2]
                 if typ is None:
                     continue
                 val = header.get(key, "N/A")

mercurial