mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
Don't show cells with long text values as BLOB
Don't show cells with a text value longer than 1024 characters as '(BLOB)'. Also don't change back to binary mode in the EditDialog after manually switching to the text mode. Closes issue #16.
This commit is contained in:
committed by
Martin Kleusberg
parent
42501d31fe
commit
516d71f146
@@ -141,7 +141,7 @@ void EditDialog::checkDataType()
|
||||
{
|
||||
// Check if data is text only
|
||||
ui->comboEditor->setVisible(true);
|
||||
if(QString(hexEdit->data()).toLatin1() == hexEdit->data()) // Any proper way??
|
||||
if(QString(hexEdit->data()).toUtf8() == hexEdit->data()) // Any proper way??
|
||||
{
|
||||
ui->editorStack->setCurrentIndex(0);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user