Fixed seg fault on Bloom early shutdown (when invoking commands)
This commit is contained in:
@@ -161,6 +161,10 @@ void Application::loadProjectSettings() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Application::saveProjectSettings() {
|
void Application::saveProjectSettings() {
|
||||||
|
if (!this->projectSettings.has_value()) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const auto projectSettingsPath = Paths::projectSettingsPath();
|
const auto projectSettingsPath = Paths::projectSettingsPath();
|
||||||
auto jsonSettingsFile = QFile(QString::fromStdString(projectSettingsPath));
|
auto jsonSettingsFile = QFile(QString::fromStdString(projectSettingsPath));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user