diff --git a/plugins/builtin/source/content/views/view_settings.cpp b/plugins/builtin/source/content/views/view_settings.cpp index e3e4019d9..653ce1517 100644 --- a/plugins/builtin/source/content/views/view_settings.cpp +++ b/plugins/builtin/source/content/views/view_settings.cpp @@ -118,14 +118,11 @@ namespace hex::plugin::builtin { auto newValue = widget->store(); // Write new value to settings - ContentRegistry::Settings::impl::getSetting(category.unlocalizedName, setting.unlocalizedName, newValue) = newValue; + ContentRegistry::Settings::write(category.unlocalizedName, setting.unlocalizedName, newValue); // Print a debug message log::debug("Setting [{} / {}]: Value was changed to {}", category.unlocalizedName.get(), setting.unlocalizedName.get(), nlohmann::to_string(newValue)); - // Signal that the setting was changed - widget->onChanged(); - // Request a restart if the setting requires it if (widget->doesRequireRestart()) { m_restartRequested = true;