Commit a2d9eba3 authored by Benjamin Pracht's avatar Benjamin Pracht

* Fixes crash when libcdio is not installed

parent 03e5071f
......@@ -698,7 +698,9 @@ wxPanel *OpenDialog::DiscPanel( wxWindow* parent )
#endif
sizer_row->Add( disc_type, i_disc_type_selection, wxEXPAND | wxALL, 5 );
#ifdef HAVE_LIBCDIO
sizer_row->Add( disc_probe, 0, wxEXPAND | wxALL );
#endif
wxStaticText *label = new wxStaticText( panel, -1, wxU(_("Device name")) );
disc_device = new wxTextCtrl( panel, DiscDevice_Event, wxT(""),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment