[chronojump] hbox_camera_resolution_framerate.Visible when there are camera/s



commit dadea81fe323a30fec4a49dd34c85facd9e98bb1
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Apr 5 16:11:12 2019 +0200

    hbox_camera_resolution_framerate.Visible when there are camera/s

 src/gui/preferences.cs | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/gui/preferences.cs b/src/gui/preferences.cs
index d34ea11a..e97699e5 100644
--- a/src/gui/preferences.cs
+++ b/src/gui/preferences.cs
@@ -145,6 +145,7 @@ public class PreferencesWindow
        [Widget] Gtk.Label label_test_sound_result;
        [Widget] Gtk.Box hbox_combo_camera;
        [Widget] Gtk.ComboBox combo_camera;
+       [Widget] Gtk.HBox hbox_camera_resolution_framerate;
        [Widget] Gtk.Box hbox_combo_camera_resolution;
        [Widget] Gtk.ComboBox combo_camera_resolution;
        [Widget] Gtk.Box hbox_combo_camera_framerate;
@@ -600,6 +601,8 @@ public class PreferencesWindow
                        label_no_cameras.Text = wd_list.Error;
                        label_no_cameras.Visible = true;
                        current = "";
+
+                       hbox_camera_resolution_framerate.Visible = false;
                        return;
                }
                


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]