Commit cf612580 authored by Xavier de Blas's avatar Xavier de Blas

Webcam preferences fix for systems with no camera

parent 1e09e39c
......@@ -600,6 +600,13 @@ public class PreferencesWindow
combo_camera = ComboBox.NewText ();
/*
* declare both because there is a return just here and if they are undeclred the method:
* on_button_accept_clicked () will fail
*/
combo_camera_resolution = ComboBox.NewText ();
combo_camera_framerate = ComboBox.NewText ();
if(wd_list.Count() == 0) {
//devices = Util.StringToStringArray(Constants.CameraNotFound);
label_no_cameras.Text = wd_list.Error;
......
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