X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fsubtitle_panel.cc;h=1a42c1f57a9ad7256174aeb0f1918df6a9969f79;hb=e00b9850a7336b7db0aee058fe12f576db5f84a3;hp=ff215c31d418ede4e28e1d017172d81ea15737b8;hpb=362443f12f6614404fe668b309f91099e3a83d51;p=dcpomatic.git diff --git a/src/wx/subtitle_panel.cc b/src/wx/subtitle_panel.cc index ff215c31d..1a42c1f57 100644 --- a/src/wx/subtitle_panel.cc +++ b/src/wx/subtitle_panel.cc @@ -409,7 +409,7 @@ SubtitlePanel::subtitle_view_clicked () shared_ptr decoder = decoder_factory (c.front(), _parent->film()->log(), false); if (decoder) { - _subtitle_view = new SubtitleView (this, _parent->film(), decoder, c.front()->position ()); + _subtitle_view = new SubtitleView (this, _parent->film(), c.front(), decoder, _parent->film_viewer()); _subtitle_view->Show (); } }