[gnome-calculator] Refresh bits panel after calculation (fixes #38)



commit 44b20acd994280dc1a5c2c3384ea65e4f39a5599
Author: Robert Roth <robert roth off gmail com>
Date:   Sat Jun 6 01:17:16 2020 +0300

    Refresh bits panel after calculation (fixes #38)

 lib/math-equation.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/lib/math-equation.vala b/lib/math-equation.vala
index 65570880..73cff961 100644
--- a/lib/math-equation.vala
+++ b/lib/math-equation.vala
@@ -809,6 +809,7 @@ public class MathEquation : Gtk.SourceBuffer
         ans_start_mark = create_mark (null, start, false);
         ans_end_mark = create_mark (null, end, true);
         apply_tag (ans_tag, start, end);
+        notify_property ("display"); // notify after tag was applied to update bits panel
 
         if (serializer.error != null)
         {


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