--- a/src/settingseditor/settingseditor.cpp Wed Jun 22 23:51:06 2022 +0300 +++ b/src/settingseditor/settingseditor.cpp Sun Jun 26 19:44:45 2022 +0300 @@ -22,6 +22,7 @@ this->ui.viewModeButtonGroup->setId(this->ui.viewModeSubWindows, int{QMdiArea::SubWindowView}); this->loadLocales(); this->setDefaults(); + this->librariesEditor.setModel(&libraries); QVBoxLayout* layout = new QVBoxLayout{this}; layout->addWidget(&librariesEditor); this->ui.tabLdrawLibraries->setLayout(layout); @@ -77,6 +78,7 @@ void SettingsEditor::setDefaults() { + this->libraries.restoreFromSettings(); this->setCurrentLanguage(setting<Setting::Locale>()); this->ui.mainColorButton->setColor(setting<Setting::MainColor>()); this->ui.backgroundColorButton->setColor(setting<Setting::BackgroundColor>());