mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
forgot to update the error message of add record
This commit is contained in:
@@ -376,10 +376,7 @@ void MainWindow::addRecord()
|
||||
else
|
||||
{
|
||||
QMessageBox::information( this, QApplication::applicationName(),
|
||||
tr("Error adding record, make sure a table is selected.\n\n"
|
||||
"If the table contain fields declared as NOT NULL\n"
|
||||
"please select EDIT->PREFERENCES and adjust the\n"
|
||||
"default value for new records to insert an empty string."));
|
||||
tr("Error adding record:\n") + db.lastErrorMessage);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user