mirror of https://github.com/odrling/Aegisub
Use Close rather than Destroy when closing the detached video dialog via the command
Originally committed to SVN as r5698.
This commit is contained in:
parent
da6a208062
commit
87290be48e
|
@ -264,8 +264,7 @@ struct video_detach : public validator_video_loaded {
|
|||
c->detachedVideo = new DialogDetachedVideo(c, c->videoBox->videoDisplay->GetClientSize());
|
||||
}
|
||||
else {
|
||||
c->detachedVideo->Destroy();
|
||||
c->detachedVideo = 0;
|
||||
c->detachedVideo->Close();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue