Fix startup crash.
authorCarl Hetherington <cth@carlh.net>
Tue, 2 Jun 2015 15:14:25 +0000 (16:14 +0100)
committerCarl Hetherington <cth@carlh.net>
Tue, 2 Jun 2015 15:14:25 +0000 (16:14 +0100)
src/wx/dcp_panel.cc

index cf5c509773dc19fbee844283fd1bbef212f4ae50..96a7e6abcf764645b4e5efaff6e5e6f6afd8ee21 100644 (file)
@@ -655,6 +655,7 @@ DCPPanel::make_audio_panel ()
                _audio_channels->Append (wxString::Format ("%d", i));
        }
        grid->Add (_audio_channels, wxGBPosition (r, 1));
+       ++r;
 
        add_label_to_grid_bag_sizer (grid, panel, _("Processor"), true, wxGBPosition (r, 0));
        _audio_processor = new wxChoice (panel, wxID_ANY);