Rename _texture -> _video_texture.
[dcpomatic.git] / src / wx / audio_gain_dialog.cc
index 5cd936d2439fb9bb4f0807b678cc0a0e56291a8d..fb9bd25447b4aba3ad9b01255ae5423d7e7389fb 100644 (file)
@@ -31,13 +31,15 @@ AudioGainDialog::AudioGainDialog (wxWindow* parent, int c, int d, float v)
        _gain = add (new wxSpinCtrlDouble (this));
        add (_("dB"), false);
 
-       _gain->SetRange (-144, 0);
+       _gain->SetRange (-144, 18);
        _gain->SetDigits (1);
        _gain->SetIncrement (0.1);
 
        _gain->SetValue (linear_to_db(v));
 
        layout ();
+
+       _gain->SetFocus ();
 }
 
 float