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

hbox_camera_resolution_framerate.Visible when there are camera/s

parent e5c85312
...@@ -145,6 +145,7 @@ public class PreferencesWindow ...@@ -145,6 +145,7 @@ public class PreferencesWindow
[Widget] Gtk.Label label_test_sound_result; [Widget] Gtk.Label label_test_sound_result;
[Widget] Gtk.Box hbox_combo_camera; [Widget] Gtk.Box hbox_combo_camera;
[Widget] Gtk.ComboBox combo_camera; [Widget] Gtk.ComboBox combo_camera;
[Widget] Gtk.HBox hbox_camera_resolution_framerate;
[Widget] Gtk.Box hbox_combo_camera_resolution; [Widget] Gtk.Box hbox_combo_camera_resolution;
[Widget] Gtk.ComboBox combo_camera_resolution; [Widget] Gtk.ComboBox combo_camera_resolution;
[Widget] Gtk.Box hbox_combo_camera_framerate; [Widget] Gtk.Box hbox_combo_camera_framerate;
...@@ -600,6 +601,8 @@ public class PreferencesWindow ...@@ -600,6 +601,8 @@ public class PreferencesWindow
label_no_cameras.Text = wd_list.Error; label_no_cameras.Text = wd_list.Error;
label_no_cameras.Visible = true; label_no_cameras.Visible = true;
current = ""; current = "";
hbox_camera_resolution_framerate.Visible = false;
return; return;
} }
......
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