mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
Fix Binary In-Place Editable Cell
This commit is contained in:
@@ -623,7 +623,7 @@ void SqliteTableModel::clearCache()
|
||||
|
||||
bool SqliteTableModel::isBinary(const QModelIndex& index) const
|
||||
{
|
||||
return m_vDataTypes.at(index.column()) == SQLITE_BLOB;
|
||||
return m_data.at(index.row()).at(index.column()).left(1024).contains('\0');
|
||||
}
|
||||
|
||||
QByteArray SqliteTableModel::encode(const QByteArray& str) const
|
||||
|
||||
Reference in New Issue
Block a user