[chronojump] Fixed minor glitch on preferences win/jumps q/dj index since... ever



commit 3681148f3ed964badcb9098c845a75558efad8d3
Author: Xavier de Blas <xaviblas gmail com>
Date:   Fri Sep 27 16:06:58 2019 +0200

    Fixed minor glitch on preferences win/jumps q/dj index since... ever

 glade/preferences_win.glade | 1 +
 src/gui/preferences.cs      | 3 +--
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/glade/preferences_win.glade b/glade/preferences_win.glade
index 3ba5826f..ccedf17a 100644
--- a/glade/preferences_win.glade
+++ b/glade/preferences_win.glade
@@ -558,6 +558,7 @@
                                             </child>
                                             <child>
                                               <widget class="GtkHBox" id="hbox_indexes">
+                                                <property name="visible">True</property>
                                                 <property name="can_focus">False</property>
                                                 <child>
                                                   <widget class="GtkRadioButton" 
id="radiobutton_show_q_index">
diff --git a/src/gui/preferences.cs b/src/gui/preferences.cs
index 7bdd67c6..6500d417 100644
--- a/src/gui/preferences.cs
+++ b/src/gui/preferences.cs
@@ -403,11 +403,10 @@ public class PreferencesWindow
                        PreferencesWindowBox.checkbutton_show_tv_tc_index.Active = true; 
                        if(preferences.showQIndex) {
                                PreferencesWindowBox.radiobutton_show_q_index.Active = true; 
-                               PreferencesWindowBox.radiobutton_show_dj_index.Active = false; 
                        } else {
-                               PreferencesWindowBox.radiobutton_show_q_index.Active = false; 
                                PreferencesWindowBox.radiobutton_show_dj_index.Active = true; 
                        }
+                       PreferencesWindowBox.hbox_indexes.Show();
                }
                else {
                        PreferencesWindowBox.checkbutton_show_tv_tc_index.Active = false; 


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