Codechange: Missing some conversions to WidgetID. (#11773)

This commit is contained in:
Peter Nelson
2024-01-14 16:47:10 +00:00
committed by GitHub
parent 93ba6d6776
commit 71aaed860b
5 changed files with 5 additions and 5 deletions

View File

@@ -160,7 +160,7 @@ struct HelpWindow : public Window {
}
private:
void EnableTextfileButton(std::string_view filename, int button_widget)
void EnableTextfileButton(std::string_view filename, WidgetID button_widget)
{
this->GetWidget<NWidgetLeaf>(button_widget)->SetDisabled(!FindGameManualFilePath(filename).has_value());
}