why_not in can_reference can just be a string rather than a list of strings.
[dcpomatic.git] / src / wx / subtitle_panel.cc
index 0b94b335fd9c4adbf1cf37be0f685b34e7119e74..5bba1ec2ca006e681248f722a42d31edc1ddbcc0 100644 (file)
@@ -275,7 +275,7 @@ SubtitlePanel::setup_sensitivity ()
                dcp = dynamic_pointer_cast<DCPContent> (sel.front ());
        }
 
-       list<string> why_not;
+       string why_not;
        bool const can_reference = dcp && dcp->can_reference_subtitle (why_not);
        setup_refer_button (_reference, dcp, can_reference, why_not);