Informing the core, that unsaved changes to the items should be saved before starting the updater.
This commit is contained in:
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user