X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fvideo_panel.cc;h=a2c35ec764e0094559da4241ecca952d352416ee;hb=71d56fbe3ba5974505469d2c8b7efcdef4eb8adc;hp=227f6c6477e8c6e375adb0f88c438b3a44566012;hpb=df89a39cfd34d0d70609daa214d3b618bb6223bd;p=dcpomatic.git diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc index 227f6c647..a2c35ec76 100644 --- a/src/wx/video_panel.cc +++ b/src/wx/video_panel.cc @@ -402,7 +402,7 @@ VideoPanel::edit_colour_conversion_clicked () return; } - ContentColourConversionDialog* d = new ContentColourConversionDialog (this); + ContentColourConversionDialog* d = new ContentColourConversionDialog (this, vc.front()->yuv ()); d->set (vc.front()->colour_conversion().get_value_or (PresetColourConversion::all().front ().conversion)); d->ShowModal (); vc.front()->set_colour_conversion (d->get ());