[chronojump] Encoder capture 4 views if only signal fully show it



commit 780ce9aaf9c1427465c89af51382c01331437122
Author: Xavier de Blas <xaviblas gmail com>
Date:   Mon Jul 19 12:52:18 2021 +0200

    Encoder capture 4 views if only signal fully show it

 glade/app1.glade        | 2 +-
 src/gui/app1/encoder.cs | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/glade/app1.glade b/glade/app1.glade
index 8bd52daf8..ed32f5e21 100644
--- a/glade/app1.glade
+++ b/glade/app1.glade
@@ -32420,7 +32420,7 @@ Concentric</property>
                                                             <property name="can_focus">True</property>
                                                             <property name="position">400</property>
                                                             <child>
-                                                            <widget class="GtkVBox" id="vbox105">
+                                                            <widget class="GtkVBox" 
id="vbox_encoder_bars_table_and_save_reps">
                                                             <property name="visible">True</property>
                                                             <property name="can_focus">False</property>
                                                             <child>
diff --git a/src/gui/app1/encoder.cs b/src/gui/app1/encoder.cs
index 9f3a8b59b..ba6db3011 100644
--- a/src/gui/app1/encoder.cs
+++ b/src/gui/app1/encoder.cs
@@ -125,6 +125,7 @@ public partial class ChronoJumpWindow
        [Widget] Gtk.CheckButton check_encoder_capture_bars;
        [Widget] Gtk.CheckButton check_encoder_capture_table;
        [Widget] Gtk.CheckButton check_encoder_capture_signal;
+       [Widget] Gtk.VBox vbox_encoder_bars_table_and_save_reps;
        [Widget] Gtk.HBox hbox_encoder_capture_save_repetitions;
        [Widget] Gtk.HBox hbox_encoder_capture_show_need_one;
        [Widget] Gtk.Alignment alignment_encoder_capture_curves_bars_drawingarea;
@@ -1345,6 +1346,9 @@ public partial class ChronoJumpWindow
                hbox_encoder_capture_save_repetitions.Visible =
                        (check_encoder_capture_bars.Active || check_encoder_capture_table.Active);
 
+               vbox_encoder_bars_table_and_save_reps.Visible =
+                       (check_encoder_capture_bars.Active || check_encoder_capture_table.Active);
+
                hbox_encoder_capture_show_need_one.Visible =
                        ! (check_encoder_capture_bars.Active || check_encoder_capture_table.Active || 
check_encoder_capture_signal.Active);
        }


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