diff options
Diffstat (limited to 'examples3/SQL/runsqlex.py')
-rwxr-xr-x | examples3/SQL/runsqlex.py | 4 |
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) |