diff --git a/aegisub/dialog_detached_video.cpp b/aegisub/dialog_detached_video.cpp index ff12b1a2c..12a1e4aa8 100644 --- a/aegisub/dialog_detached_video.cpp +++ b/aegisub/dialog_detached_video.cpp @@ -40,6 +40,7 @@ #include #include "dialog_detached_video.h" #include "video_box.h" +#include "video_slider.h" #include "video_context.h" #include "video_display.h" #include "frame_main.h" @@ -74,6 +75,7 @@ DialogDetachedVideo::DialogDetachedVideo(FrameMain *par) // Video area; videoBox = new VideoBox(panel); videoBox->videoDisplay->freeSize = true; + videoBox->videoSlider->grid = par->SubsBox; // Set sizer wxSizer *mainSizer = new wxBoxSizer(wxVERTICAL);