mirror of https://github.com/odrling/Aegisub
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
|
@ -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 New Issue