diff --git a/src/preferences.cpp b/src/preferences.cpp index a9a35e93f..08d44cd7c 100644 --- a/src/preferences.cpp +++ b/src/preferences.cpp @@ -635,14 +635,12 @@ void Interface_Hotkeys::OnUpdateFilter(wxCommandEvent&) { void Preferences::SetOption(std::unique_ptr new_value) { pending_changes[new_value->GetName()] = std::move(new_value); - if (IsEnabled()) - applyButton->Enable(true); + applyButton->Enable(true); } void Preferences::AddPendingChange(Thunk const& callback) { pending_callbacks.push_back(callback); - if (IsEnabled()) - applyButton->Enable(true); + applyButton->Enable(true); } void Preferences::AddChangeableOption(std::string const& name) {