diff --git a/src/core/database.cpp b/src/core/database.cpp index 839fedd..352cf04 100644 --- a/src/core/database.cpp +++ b/src/core/database.cpp @@ -249,7 +249,7 @@ unsigned int Database::storeSellers(std::vector>& seller retCode = sqlite3_step(stmt); if (retCode != SQLITE_DONE) { - rollbackTransaction(); + //rollbackTransaction(); std::string errMsg(sqlite3_errmsg(db_)); sqlite3_finalize(stmt); throw std::runtime_error(errMsg); diff --git a/src/gui/mainwindow.cpp b/src/gui/mainwindow.cpp index c79a776..a83f087 100644 --- a/src/gui/mainwindow.cpp +++ b/src/gui/mainwindow.cpp @@ -525,6 +525,7 @@ void MainWindow::onImportSalesJsonActionTriggered() QMessageBox(QMessageBox::Icon::Warning, "Import nicht möglich", err.what(), QMessageBox::Ok, this) .exec(); + marketplace_->loadFromDb(); } setSaleModel(); updateStatLabel();