Fix code after change in rz_project_save_file API

This commit is contained in:
Riccardo Schirone 2021-09-09 20:39:56 +02:00 committed by Florian Märkl
parent f42069369c
commit a3bc43259c

View File

@ -695,7 +695,7 @@ RzProjectErr MainWindow::saveProject(bool *canceled)
if (canceled) {
*canceled = false;
}
RzProjectErr err = rz_project_save_file(RzCoreLocked(core), file.toUtf8().constData());
RzProjectErr err = rz_project_save_file(RzCoreLocked(core), file.toUtf8().constData(), false);
if (err == RZ_PROJECT_ERR_SUCCESS) {
Config()->addRecentProject(file);
}
@ -724,7 +724,7 @@ RzProjectErr MainWindow::saveProjectAs(bool *canceled)
if (canceled) {
*canceled = false;
}
RzProjectErr err = rz_project_save_file(RzCoreLocked(core), file.toUtf8().constData());
RzProjectErr err = rz_project_save_file(RzCoreLocked(core), file.toUtf8().constData(), false);
if (err == RZ_PROJECT_ERR_SUCCESS) {
Config()->addRecentProject(file);
}