Fix bug where "Play current line" would not stop at the end of the line if video was already playing
Originally committed to SVN as r6353.
This commit is contained in:
parent
a24f1692be
commit
bce29f5a9a
1 changed files with 2 additions and 0 deletions
|
@ -360,6 +360,8 @@ void VideoContext::Play() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void VideoContext::PlayLine() {
|
void VideoContext::PlayLine() {
|
||||||
|
Stop();
|
||||||
|
|
||||||
AssDialogue *curline = context->selectionController->GetActiveLine();
|
AssDialogue *curline = context->selectionController->GetActiveLine();
|
||||||
if (!curline) return;
|
if (!curline) return;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue