diff --git a/aegisub/src/command/subtitle.cpp b/aegisub/src/command/subtitle.cpp index 50a2c12b7..d7f92b826 100644 --- a/aegisub/src/command/subtitle.cpp +++ b/aegisub/src/command/subtitle.cpp @@ -415,7 +415,7 @@ struct subtitle_select_visible : public Command { c->selectionController->SetSelectedSet(new_selection); } - bool Validate(agi::Context *c) { + bool Validate(const agi::Context *c) { return c->videoController->IsLoaded(); } };