[gcalctool] Stop '*'+backspace+'*' being converted into '^'
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gcalctool] Stop '*'+backspace+'*' being converted into '^'
- Date: Thu, 14 Oct 2010 23:41:57 +0000 (UTC)
commit 5ef56d809ca6c4e0df4bb9553850d5ff5c9758ac
Author: Robert Ancell <robert ancell canonical com>
Date:   Thu Oct 14 16:38:12 2010 +1100
    Stop '*'+backspace+'*' being converted into '^'
 NEWS                |    1 +
 src/math-equation.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/NEWS b/NEWS
index a674651..655fab0 100644
--- a/NEWS
+++ b/NEWS
@@ -13,6 +13,7 @@ Overview of changes in gcalctool 5.91.0
     * Put back visible thousands separators (bug #628908)
     * Make thousands separators and radix points respect the users locale
     * Updated translations
+    * Stop '*'+backspace+'*' being converted into '^'
 
 Overview of changes in gcalctool 5.32.0
 
diff --git a/src/math-equation.c b/src/math-equation.c
index fae19df..29cd71b 100644
--- a/src/math-equation.c
+++ b/src/math-equation.c
@@ -1590,6 +1590,7 @@ delete_range_cb (MathEquation  *equation,
     if (equation->priv->in_reformat)
         return;
 
+    equation->priv->state.entered_multiply = FALSE;
     // FIXME: A replace will emit this both for delete-range and insert-text, can it be avoided?
     g_object_notify(G_OBJECT(equation), "display");
 }
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]