mirror of
https://github.com/sqlitebrowser/sqlitebrowser.git
synced 2026-05-06 20:09:54 -05:00
show why we couldn't update the record
This commit is contained in:
+2
-1
@@ -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