mirror of
https://github.com/Palakis/obs-websocket.git
synced 2024-08-30 18:12:16 +00:00
RequestHandler: Save config after profile parameter change
Fixes a bug where changed parameters were not applying across loads Fixes #895
This commit is contained in:
parent
c64e360c2d
commit
341259e610
@ -408,6 +408,8 @@ RequestResult RequestHandler::SetProfileParameter(const Request& request)
|
||||
return RequestResult::Error(RequestStatus::InvalidRequestFieldType, "The field `parameterValue` must be a string.");
|
||||
}
|
||||
|
||||
config_save(profile);
|
||||
|
||||
return RequestResult::Success();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user