diff options
author | Jens Verwiebe <info@jensverwiebe.de> | 2013-10-02 20:09:09 +0400 |
---|---|---|
committer | Jens Verwiebe <info@jensverwiebe.de> | 2013-10-02 20:09:09 +0400 |
commit | 4bc998d0b3487732712c44848702fd9eaf2fd11e (patch) | |
tree | ef1fa3d534e7d2d3456c747b3cef4db1136e8a6d | |
parent | cbb783f1d659263bbfd9924e74913e204a688077 (diff) |
OSX: readd ctrl-a for 'select all' in text(-boxes) against my own conviction for now - really to be discussed
-rw-r--r-- | source/blender/editors/interface/interface_handlers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/interface/interface_handlers.c b/source/blender/editors/interface/interface_handlers.c index 3ee380fa46b..2d7a86721d9 100644 --- a/source/blender/editors/interface/interface_handlers.c +++ b/source/blender/editors/interface/interface_handlers.c @@ -2230,8 +2230,8 @@ static void ui_do_but_textedit(bContext *C, uiBlock *block, uiBut *but, uiHandle /* Ctrl + A: Select all */ #if !defined(__APPLE__) if (event->ctrl && !(event->alt || event->shift || event->oskey)) { -#else - if (event->oskey && !(event->alt || event->shift || event->ctrl)) { // OSX conformity +#else /* OSX uses cmd-a systemwide, so add it */ + if ((event->oskey && !(event->alt || event->shift || event->ctrl)) || (event->ctrl && !(event->alt || event->shift || event->oskey))) { #endif ui_textedit_move(but, data, STRCUR_DIR_PREV, false, STRCUR_JUMP_ALL); |