Informing the core, that unsaved changes to the items should be saved before starting the updater.

This commit is contained in:
2026-01-06 10:17:15 +01:00
parent 3cab6d6b86
commit 5eee7a4a75

View File

@ -162,7 +162,7 @@ void MainWindow::on_actionCheck_for_update_triggered() {
const QMessageBox::StandardButton clickedButton = QMessageBox::question(
this, tr("Update available."), text, QMessageBox::Yes | QMessageBox::No, QMessageBox::Yes);
if (clickedButton == QMessageBox::Yes) {
m_core->triggerApplicationUpdate();
m_core->triggerApplicationUpdate(true);
close();
}
}