changeset 4c503e480290 in tryton:default
details: https://hg.tryton.org/tryton?cmd=changeset;node=4c503e480290
description:
Use tab key for tab navigation
issue8070
review49771002
diffstat:
CHANGELOG | 1 +
tryton/gui/main.py | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diffs (26 lines):
diff -r 4f13475b5cb8 -r 4c503e480290 CHANGELOG
--- a/CHANGELOG Wed Feb 13 10:44:04 2019 +0100
+++ b/CHANGELOG Wed Feb 13 10:46:27 2019 +0100
@@ -1,3 +1,4 @@
+* Use tab key for tab navigation
* Use ShortcutsWindow
* Improve default size of widgets and dialog
* Use record and field properties of widget instead of method arguments
diff -r 4f13475b5cb8 -r 4c503e480290 tryton/gui/main.py
--- a/tryton/gui/main.py Wed Feb 13 10:44:04 2019 +0100
+++ b/tryton/gui/main.py Wed Feb 13 10:46:27 2019 +0100
@@ -91,12 +91,12 @@
action = Gio.SimpleAction.new('tab-previous', None)
action.connect('activate', lambda *a: self.win_prev())
self.add_action(action)
- self.add_accelerator('<Primary>Left', 'app.tab-previous')
+ self.add_accelerator('<Primary><Shift>Tab', 'app.tab-previous')
action = Gio.SimpleAction.new('tab-next', None)
action.connect('activate', lambda *a: self.win_next())
self.add_action(action)
- self.add_accelerator('<Primary>Right', 'app.tab-next')
+ self.add_accelerator('<Primary>Tab', 'app.tab-next')
action = Gio.SimpleAction.new('search-limit', None)
action.connect('activate', lambda *a: self.edit_limit())