mirror of https://github.com/odrling/Aegisub
Fix validate method for the subtitle/select/visible command
Originally committed to SVN as r5867.
This commit is contained in:
parent
2cb234b414
commit
14c9d8ec87
|
@ -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();
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue