Update new panels when they are created.
[dcpomatic.git] / src / wx / text_panel.cc
index 7c2ddd7f9575c1b6dd2d0b0a26456ab7649808fc..68f246913f543ba53730afb1b061e260995d625b 100644 (file)
@@ -170,6 +170,8 @@ TextPanel::TextPanel (ContentPanel* p, TextType t)
        _y_scale->SetRange (10, 1000);
        _line_spacing->SetRange (10, 1000);
 
+       content_selection_changed ();
+
        _reference->Bind                (wxEVT_CHECKBOX, boost::bind (&TextPanel::reference_clicked, this));
        _use->Bind                      (wxEVT_CHECKBOX, boost::bind (&TextPanel::use_toggled, this));
        _type->Bind                     (wxEVT_CHOICE,   boost::bind (&TextPanel::type_changed, this));