forked from mia/Aegisub
Don't try to detach on video open if the video is already detached
Originally committed to SVN as r5692.
This commit is contained in:
parent
bdcc2ec170
commit
597dd4bb8e
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ void FrameMain::OnVideoOpen() {
|
|||
|
||||
SetDisplayMode(1,-1);
|
||||
|
||||
if (OPT_GET("Video/Detached/Enabled")->GetBool())
|
||||
if (OPT_GET("Video/Detached/Enabled")->GetBool() && !context->detachedVideo)
|
||||
cmd::call("video/detach", context.get());
|
||||
Thaw();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue