Skip to content

Commit

Permalink
Remove commented-out call to updateModel
Browse files Browse the repository at this point in the history
  • Loading branch information
foodprocessor committed Aug 27, 2024
1 parent 24610dc commit ec15f94
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/plugin/settings/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -525,15 +525,6 @@ void Engine::doGetSettingsOnActiveSettingChange(Result<const IActiveSettingChang

std::map<std::string, std::string> values = toStdMap(shareToPtr(activeSettingChangedAction->settingsValues()));

// if (!updateModel(&model, &values, {settingId}))
// {
// std::string errorMessage = "Unable to process the active settings section";
// NX_PRINT << errorMessage;
// *outResult = error(ErrorCode::internalError, errorMessage);

// return;
// }

const auto settingsResponse = makePtr<SettingsResponse>();
settingsResponse->setValues(makePtr<StringMap>(values));
settingsResponse->setModel(makePtr<String>(Json(model).dump()));
Expand Down

0 comments on commit ec15f94

Please sign in to comment.