summaryrefslogtreecommitdiffstats
path: root/qt-models
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2019-03-16 10:44:39 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2019-04-12 18:19:07 +0300
commit434990dcd40cdbc414893fbc532abf52c30a155b (patch)
treeff727c54f7f2cea2691072f967b49d57d66a4c4c /qt-models
parent3a3089770a5af9ef421779186f4dd47b01611ad2 (diff)
downloadsubsurface-434990dcd40cdbc414893fbc532abf52c30a155b.tar.gz
Desktop: Dive site editing: give up focus on ESC
As long as a text field is active, CTRL-Z only affects this field. Thus it is suprisingly hard to undo edits. There seems to be a fundamental problem with CTRL-Z handling. To make it somewhat easier, catch any ESC-key event and move the focus to the MainWindow. This effectively removes the focus from any text field. This all appears very wrong, but so far I wasn't able to find the root cause of the problem. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'qt-models')
0 files changed, 0 insertions, 0 deletions