changeset 3179:c30614e0d942 stable

Fix bug #55458: Command line gets activated with shift Z
author Luis Falcon <falcon@gnu.org>
date Sat, 12 Jan 2019 12:54:05 +0000
parents 97e412935b74
children 03c0be036cf3
files gnuhealth-client/tryton/gui/main.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/gnuhealth-client/tryton/gui/main.py
+++ b/gnuhealth-client/tryton/gui/main.py
@@ -140,7 +140,7 @@
             gtk.gdk.SHIFT_MASK)
 
         gtk.accel_map_add_entry('<tryton>/User/Command Line', gtk.keysyms.Z,
-            gtk.gdk.SHIFT_MASK)
+            gtk.gdk.CONTROL_MASK | gtk.gdk.SHIFT_MASK)
 
         gtk.accel_map_load(os.path.join(get_config_dir(), 'accel.map'))
 
@@ -1030,8 +1030,6 @@
     def command_line(self):
         self.cli.grab_focus()
 
-        print ("Command line widget")
-
     @property
     def menu_expander_size(self):
         return self.menu_expander.style_get_property('expander-size')