Logging improvements to allow prettier displays in the server GUI.
[dcpomatic.git] / src / wx / image_sequence_dialog.cc
index 48af6afa1198bbee816c6638454426bdfd22f722..0cdf653a57a081c1e63fc250a884b3b56def665c 100644 (file)
 #include "lib/raw_convert.h"
 
 ImageSequenceDialog::ImageSequenceDialog (wxWindow* parent)
-       : TableDialog (parent, _("Add image sequence"), 2, true)
+       : TableDialog (parent, _("Add image sequence"), 2, 1, true)
 {
        add (_("Frame rate"), true);
        _frame_rate = add (new wxTextCtrl (this, wxID_ANY, N_("24")));
        layout ();
 }
 
-float
+double
 ImageSequenceDialog::frame_rate () const
 {
        try {
-               return raw_convert<float> (wx_to_std (_frame_rate->GetValue ()));
+               return raw_convert<double> (wx_to_std (_frame_rate->GetValue ()));
        } catch (...) {
 
        }