MCPcopy Create free account
hub / github.com/TypesettingTools/Aegisub / SetOption

Method SetOption

src/preferences.cpp:653–656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

651}
652
653void Preferences::SetOption(std::unique_ptr<agi::OptionValue> new_value) {
654 pending_changes[new_value->GetName()] = std::move(new_value);
655 applyButton->Enable(true);
656}
657
658void Preferences::AddPendingChange(Thunk const& callback) {
659 pending_callbacks.push_back(callback);

Callers

nothing calls this directly

Calls 1

GetNameMethod · 0.45

Tested by

no test coverage detected