Fix validate method for the subtitle/select/visible command
Originally committed to SVN as r5867.
This commit is contained in:
parent
2cb234b414
commit
14c9d8ec87
1 changed files with 1 additions and 1 deletions
|
@ -415,7 +415,7 @@ struct subtitle_select_visible : public Command {
|
||||||
c->selectionController->SetSelectedSet(new_selection);
|
c->selectionController->SetSelectedSet(new_selection);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Validate(agi::Context *c) {
|
bool Validate(const agi::Context *c) {
|
||||||
return c->videoController->IsLoaded();
|
return c->videoController->IsLoaded();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue