mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-01-20 02:50:46 -06:00
show why we couldn't update the record
This commit is contained in:
@@ -701,7 +701,8 @@ void MainWindow::helpAbout()
|
||||
void MainWindow::updateRecordText(int row, int col, const QByteArray& newtext)
|
||||
{
|
||||
if (!db.updateRecord(row, col, newtext)){
|
||||
QMessageBox::information( this, QApplication::applicationName(), tr("Data could not be updated"));
|
||||
QMessageBox::information( this, QApplication::applicationName(),
|
||||
tr("Data could not be updated:\n") + db.lastErrorMessage);
|
||||
}
|
||||
|
||||
rowList tab = db.browseRecs;
|
||||
|
||||
Reference in New Issue
Block a user