mirror of https://github.com/odrling/Aegisub
Update the video box time boxes when detached video is first opened
Originally committed to SVN as r5537.
This commit is contained in:
parent
20258438ec
commit
d3e7f02597
|
@ -159,6 +159,8 @@ VideoBox::VideoBox(wxWindow *parent, bool isDetached, agi::Context *context)
|
||||||
VideoSizer->AddStretchSpacer(1);
|
VideoSizer->AddStretchSpacer(1);
|
||||||
SetSizer(VideoSizer);
|
SetSizer(VideoSizer);
|
||||||
|
|
||||||
|
UpdateTimeBoxes();
|
||||||
|
|
||||||
Bind(wxEVT_COMMAND_BUTTON_CLICKED, &VideoBox::OnButton, this);
|
Bind(wxEVT_COMMAND_BUTTON_CLICKED, &VideoBox::OnButton, this);
|
||||||
Bind(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, &VideoBox::OnButton, this);
|
Bind(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, &VideoBox::OnButton, this);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue