diff --git a/Common/UI/View.cpp b/Common/UI/View.cpp index 2a732ed66d..7873615367 100644 --- a/Common/UI/View.cpp +++ b/Common/UI/View.cpp @@ -737,6 +737,7 @@ bool CheckBox::Toggled() const { } void CheckBox::ClickInternal() { + Clickable::ClickInternal(); Toggle(); } diff --git a/UI/CwCheatScreen.cpp b/UI/CwCheatScreen.cpp index ef6a6ece9e..8cbeed314f 100644 --- a/UI/CwCheatScreen.cpp +++ b/UI/CwCheatScreen.cpp @@ -123,7 +123,7 @@ void CwCheatScreen::CreateViews() { rightColumn->Add(new ItemHeader(cw->T("Cheats"))); for (size_t i = 0; i < fileInfo_.size(); ++i) { rightColumn->Add(new CheckBox(&fileInfo_[i].enabled, fileInfo_[i].name))->OnClick.Add([=](UI::EventParams &) { - return OnCheckBox((int)i); + OnCheckBox((int)i); }); }