[GRASS-git] [OSGeo/grass] 5fd8c2: wxGUI: Fix key binding issues on mac (#818)
nilason
noreply at github.com
Mon Nov 30 19:07:04 PST 2020
Branch: refs/heads/master
Home: https://github.com/OSGeo/grass
Commit: 5fd8c298d20abbd53b368741cb710e851954309e
https://github.com/OSGeo/grass/commit/5fd8c298d20abbd53b368741cb710e851954309e
Author: nilason <n_larsson at yahoo.com>
Date: 2020-11-30 (Mon, 30 Nov 2020)
Changed paths:
M gui/wxpython/dbmgr/manager.py
M gui/wxpython/dbmgr/sqlbuilder.py
M gui/wxpython/gui_core/forms.py
M gui/wxpython/gui_core/goutput.py
M gui/wxpython/gui_core/wrap.py
M gui/wxpython/lmgr/frame.py
M gui/wxpython/lmgr/pyshell.py
M gui/wxpython/modules/import_export.py
M gui/wxpython/modules/mcalc_builder.py
Log Message:
-----------
wxGUI: Fix key binding issues on mac (#818)
Fixes #785
The main problem with stock id buttons is that they all come with a key binding. E.g. Close, Clear and Copy have the same key binding ctrl+c and causes problems at least for mac. To remedy this issue we are using subclassed versions of Button: ClearButton, CancelButton, ApplyButton).
I also made some effort to implement ESC to close dialog (attribute table manager, mapcalc)
Note: for module dialogs (forms.py) and Map calculator I have replaced ctrl+c to copy selected text, not to copy the whole command.
More information about the grass-commit
mailing list