no need to set the db into dirty state

we have rollbacked/committed anyway
This commit is contained in:
Peinthor Rene
2013-03-28 18:52:07 +01:00
parent e46d3401df
commit c5399932e2

View File

@@ -144,12 +144,11 @@ void ImportCsvDialog::accept()
}
// Everything ok, release the savepoint
if(!pdb->executeSQL("RELEASE SAVEPOINT CSVIMPORT;"))
if(!pdb->executeSQL("RELEASE SAVEPOINT CSVIMPORT;", false))
return rollback(this, pdb, progress);
pdb->setDirty(true);
QApplication::restoreOverrideCursor(); // restore original cursor
QDialog::accept();
return;
}
void ImportCsvDialog::updatePreview()