mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-05-16 12:25:50 -04:00
made a few more settings UI tweaks
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user