提交 984667a3 编写于 作者: J jp9000

actually make it save settings

上级 b5bbe741
......@@ -115,6 +115,8 @@ void BasicGenData::Apply()
window->languageList->GetClientData(sel));
config_set_string(GetGlobalConfig(), "General", "Language", info->tag);
config_save(GetGlobalConfig());
}
BasicSettingsData *CreateBasicGeneralSettings(OBSBasicSettings *window)
......
......@@ -397,6 +397,8 @@ void BasicVideoData::Apply()
SaveOther();
SaveFPSData();
config_save(GetGlobalConfig());
}
BasicSettingsData *CreateBasicVideoSettings(OBSBasicSettings *window)
......
......@@ -89,8 +89,7 @@ void OBSBasicSettings::OKClicked(wxCommandEvent &event)
void OBSBasicSettings::CancelClicked(wxCommandEvent &event)
{
if (ConfirmChanges())
EndModal(0);
EndModal(0);
}
void OBSBasicSettings::ApplyClicked(wxCommandEvent &event)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册