diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/inputwidget.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c index 37d655b7..874cf2b5 100644 --- a/src/ui/inputwidget.c +++ b/src/ui/inputwidget.c | |||
@@ -2189,6 +2189,13 @@ static iBool processEvent_InputWidget_(iInputWidget *d, const SDL_Event *ev) { | |||
2189 | return iTrue; | 2189 | return iTrue; |
2190 | } | 2190 | } |
2191 | case SDLK_TAB: | 2191 | case SDLK_TAB: |
2192 | if (mods == (KMOD_ALT | KMOD_SHIFT)) { | ||
2193 | pushUndo_InputWidget_(d); | ||
2194 | deleteMarked_InputWidget_(d); | ||
2195 | insertChar_InputWidget_(d, '\t'); | ||
2196 | contentsWereChanged_InputWidget_(d); | ||
2197 | return iTrue; | ||
2198 | } | ||
2192 | /* Allow focus switching. */ | 2199 | /* Allow focus switching. */ |
2193 | return processEvent_Widget(as_Widget(d), ev); | 2200 | return processEvent_Widget(as_Widget(d), ev); |
2194 | case SDLK_UP: | 2201 | case SDLK_UP: |