Fix: boolean values from query result were always shown as true.
This commit is contained in:
parent
d626c19e14
commit
44326da564
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ QVariant QueryResultModel::data(const QModelIndex &index, int role) const
|
|||
//v = nullptr;
|
||||
}
|
||||
else {
|
||||
auto value = result->val(col, rij);
|
||||
Value value = result->get(col, rij);
|
||||
if (oid == bool_oid) {
|
||||
bool b = value;
|
||||
v = b;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue