summaryrefslogtreecommitdiffstats
path: root/examples3/SQL/runsqlex.py
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:47:30 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2011-12-05 16:47:30 -0600
commitd2b09f66d0c8c8c26ec613b96d7c248e78a5c52f (patch)
tree9800b39774d9dfd7a1c3526ed8438ea0b44e3171 /examples3/SQL/runsqlex.py
parent003f16c7d64a30a5a8b7de3a3fd79f021a866105 (diff)
downloadpytqt-d2b09f66d0c8c8c26ec613b96d7c248e78a5c52f.tar.gz
pytqt-d2b09f66d0c8c8c26ec613b96d7c248e78a5c52f.zip
Fix Retquired accidental conversion
Diffstat (limited to 'examples3/SQL/runsqlex.py')
-rwxr-xr-xexamples3/SQL/runsqlex.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples3/SQL/runsqlex.py b/examples3/SQL/runsqlex.py
index 09f567d..0ac779f 100755
--- a/examples3/SQL/runsqlex.py
+++ b/examples3/SQL/runsqlex.py
@@ -102,9 +102,9 @@ class MainWindow(SqlEx):
fields = db.recordInfo(t)
for f in fields:
req = "?"
- if f.isRetquired() > 0:
+ if f.isRequired() > 0:
req = "Yes"
- elif f.isRetquired() == 0:
+ elif f.isRequired() == 0:
req = "No"
fi = TQListViewItem(lvi, f.name(), TQVariant.typeToName(f.type()), req)
lvi.insertItem(fi)