diff -r 1fa0e1de9f0a -r 10a6298f636f src/settingseditor/settingseditor.cpp --- a/src/settingseditor/settingseditor.cpp Mon Jun 20 18:40:22 2022 +0300 +++ b/src/settingseditor/settingseditor.cpp Mon Jun 20 19:49:56 2022 +0300 @@ -45,6 +45,7 @@ setSetting(this->ui.selectedColorButton->selectedColor()); setSetting(static_cast(this->ui.lineThickness->value())); setSetting(this->ui.lineAntiAliasing->isChecked()); + setSetting(this->ui.logOpenGLDebugMessages->isChecked()); const int viewMode = this->ui.viewModeButtonGroup->checkedId(); if (viewMode != -1) { setSetting(static_cast(viewMode)); @@ -82,6 +83,7 @@ this->ui.selectedColorButton->setSelectedColor(setting()); this->ui.lineThickness->setValue(double_cast(setting())); this->ui.lineAntiAliasing->setChecked(setting()); + this->ui.logOpenGLDebugMessages->setChecked(setting()); auto* const viewModeButton = this->ui.viewModeButtonGroup->button(setting()); if (viewModeButton != nullptr) { viewModeButton->setChecked(true);