forked from mia/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
1 changed files with 1 additions and 2 deletions
|
@ -264,8 +264,7 @@ struct video_detach : public validator_video_loaded {
|
||||||
c->detachedVideo = new DialogDetachedVideo(c, c->videoBox->videoDisplay->GetClientSize());
|
c->detachedVideo = new DialogDetachedVideo(c, c->videoBox->videoDisplay->GetClientSize());
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
c->detachedVideo->Destroy();
|
c->detachedVideo->Close();
|
||||||
c->detachedVideo = 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue