[gnome-calculator/gnome-3-22] Ctrl+Backspace should deletes only last number, not everything (bgo#725114)
- From: Robert Roth <robertroth src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calculator/gnome-3-22] Ctrl+Backspace should deletes only last number, not everything (bgo#725114)
- Date: Tue, 25 Oct 2016 05:40:40 +0000 (UTC)
commit 2ae5b94f0b9773f064e2cbe2f040adcd83ca17a3
Author: Robert Roth <robert roth off gmail com>
Date: Tue Oct 11 15:21:32 2016 +0300
Ctrl+Backspace should deletes only last number, not everything (bgo#725114)
src/math-display.vala | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/math-display.vala b/src/math-display.vala
index 9df510f..7a155fb 100644
--- a/src/math-display.vala
+++ b/src/math-display.vala
@@ -211,7 +211,6 @@ public class MathDisplay : Gtk.Viewport
/* Clear on escape */
if ((event.keyval == Gdk.Key.Escape && state == 0) ||
- (event.keyval == Gdk.Key.BackSpace && state == Gdk.ModifierType.CONTROL_MASK) ||
(event.keyval == Gdk.Key.Delete && state == Gdk.ModifierType.SHIFT_MASK))
{
equation.clear ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]