Codechange: enum-class-ify Commands

This commit is contained in:
Rubidium
2026-01-28 23:32:51 +01:00
committed by rubidium42
parent 014bf7e750
commit 4adf494ebc
139 changed files with 890 additions and 890 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ struct EnginePreviewWindow : Window {
switch (widget) {
case WID_EP_YES:
if (this->selected_index < this->engines.size()) {
Command<CMD_WANT_ENGINE_PREVIEW>::Post(this->engines[this->selected_index]);
Command<Commands::WantEnginePreview>::Post(this->engines[this->selected_index]);
}
[[fallthrough]];