made a few more settings UI tweaks
This commit is contained in:
parent
3b871a00fb
commit
989e734025
4 changed files with 10 additions and 5 deletions
|
|
@ -81,7 +81,7 @@ void OBSBasicSettings::OnClose(wxCloseEvent &event)
|
|||
|
||||
void OBSBasicSettings::OKClicked(wxCommandEvent &event)
|
||||
{
|
||||
if (settings)
|
||||
if (settings && settings->DataChanged())
|
||||
settings->Apply();
|
||||
|
||||
EndModal(0);
|
||||
|
|
@ -94,6 +94,6 @@ void OBSBasicSettings::CancelClicked(wxCommandEvent &event)
|
|||
|
||||
void OBSBasicSettings::ApplyClicked(wxCommandEvent &event)
|
||||
{
|
||||
if (settings)
|
||||
if (settings && settings->DataChanged())
|
||||
settings->Apply();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue