--- a/src/settingseditor/settingseditor.cpp Sat Feb 01 15:49:28 2020 +0200 +++ b/src/settingseditor/settingseditor.cpp Sat Feb 01 17:10:11 2020 +0200 @@ -37,6 +37,7 @@ void SettingsEditor::handleAccepted() { this->settings->setValue("locale", this->ui.language->currentData().toString()); + this->settings->setValue("Render/MainColor", this->ui.mainColorButton->selectedColor().name()); this->librariesEditor.saveSettings(this->settings); } @@ -65,6 +66,7 @@ void SettingsEditor::setDefaults() { this->setCurrentLanguage(this->settings->value("locale", QLocale::system().name()).toString()); + this->ui.mainColorButton->setSelectedColor(this->settings->value("Render/MainColor").toString()); } void SettingsEditor::setCurrentLanguage(const QString& localeCode)