[libhandy/libhandy-1-0] keypad: Allow '+' when symbols are visible



commit 0a6e12c9d7e4b6249b1d6c16948f122a77a38efb
Author: Guido Günther <agx sigxcpu org>
Date:   Mon Nov 16 18:57:42 2020 +0100

    keypad: Allow '+' when symbols are visible
    
    Not when they are hidden

 src/hdy-keypad.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/hdy-keypad.c b/src/hdy-keypad.c
index 1246f730..17a8e3f8 100644
--- a/src/hdy-keypad.c
+++ b/src/hdy-keypad.c
@@ -129,7 +129,7 @@ long_press_zero_cb (HdyKeypad  *self,
 {
   HdyKeypadPrivate *priv = hdy_keypad_get_instance_private (self);
 
-  if (priv->symbols_visible)
+  if (!priv->symbols_visible)
     return;
 
   g_debug ("Long press on zero button");


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