mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 19:11:39 -06:00
Fix floating point detection for 64bit values
I forgot to add this file in 7d85d7a41b.
This commit is contained in:
@@ -486,7 +486,7 @@ bool SqliteTableModel::setTypedData(const QModelIndex& index, bool isBlob, const
|
||||
type = SQLITE_INTEGER;
|
||||
} else if(m_vDataTypes.at(column) == SQLITE_FLOAT) {
|
||||
bool ok;
|
||||
newValue.toFloat(&ok);
|
||||
newValue.toDouble(&ok);
|
||||
if(ok)
|
||||
type = SQLITE_FLOAT;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user