[gnome-calculator] Fixed bug with word size being incorrect on launch



commit b6daebf2b245ebbe7566bd93577f2b539ca0c6cc
Author: A.M. Rowsell <amrowsell frozenelectronics ca>
Date:   Tue Nov 3 21:58:37 2020 +0000

    Fixed bug with word size being incorrect on launch
    
    The default word size on launch is 64-bit, but for some reason
    this was not matching up with equation.word_size. Now a call to
    word_size_changed_cb() after switching to programming mode
    will fix this so that the current word size is obvious to the user.

 src/math-buttons.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/math-buttons.vala b/src/math-buttons.vala
index aaa01a62..7f8e85f6 100644
--- a/src/math-buttons.vala
+++ b/src/math-buttons.vala
@@ -398,6 +398,7 @@ public class MathButtons : Gtk.Box
             base_combo.changed.connect (base_combobox_changed_cb);
             equation.notify["number-base"].connect ((pspec) => { base_changed_cb (); } );
             base_changed_cb ();
+            word_size_changed_cb ();
         }
 
         /* Setup financial functions */


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