From d3e7f02597d0845d36c8a7209c90968cff78085e Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 17 Aug 2011 05:32:21 +0000 Subject: [PATCH] Update the video box time boxes when detached video is first opened Originally committed to SVN as r5537. --- aegisub/src/video_box.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aegisub/src/video_box.cpp b/aegisub/src/video_box.cpp index 0f329d9a1..5ddff3b8d 100644 --- a/aegisub/src/video_box.cpp +++ b/aegisub/src/video_box.cpp @@ -159,6 +159,8 @@ VideoBox::VideoBox(wxWindow *parent, bool isDetached, agi::Context *context) VideoSizer->AddStretchSpacer(1); SetSizer(VideoSizer); + UpdateTimeBoxes(); + Bind(wxEVT_COMMAND_BUTTON_CLICKED, &VideoBox::OnButton, this); Bind(wxEVT_COMMAND_TOGGLEBUTTON_CLICKED, &VideoBox::OnButton, this);