From 14c9d8ec8782232acf9dba55319582f9a6718afc Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 16 Nov 2011 22:43:45 +0000 Subject: [PATCH] Fix validate method for the subtitle/select/visible command Originally committed to SVN as r5867. --- aegisub/src/command/subtitle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); } };