[gnome-calculator] Update the bit panel and the base label when the numbering base is changed



commit 7a8ac5fe3a65f2facc1578f0dfdaccb788201032
Author: Antonio Ospite <ao2 ao2 it>
Date:   Sat Jul 9 16:28:56 2016 +0200

    Update the bit panel and the base label when the numbering base is changed
    
    When changing the base from the base combo box in programming mode the
    bit panel and the base labels did not change.
    
    Fix that by calling update_bit_panel() from base_changed_cb().
    
    https://bugzilla.gnome.org/show_bug.cgi?id=732685

 src/math-buttons.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/math-buttons.vala b/src/math-buttons.vala
index 7ecef6c..24f4382 100644
--- a/src/math-buttons.vala
+++ b/src/math-buttons.vala
@@ -223,6 +223,8 @@ public class MathButtons : Gtk.Box
             valid = model.get_iter_first (out iter);
 
         base_combo.set_active_iter (iter);
+
+        update_bit_panel ();
     }
 
     private Gtk.Widget load_mode (ButtonMode mode)


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