mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-22 04:46:11 +00:00
Fix code after change in rz_project_save_file API
This commit is contained in:
parent
f42069369c
commit
a3bc43259c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user