diff options
-rw-r--r-- | src/ui/inputwidget.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ui/inputwidget.c b/src/ui/inputwidget.c index 9b334c36..fc843371 100644 --- a/src/ui/inputwidget.c +++ b/src/ui/inputwidget.c | |||
@@ -1160,7 +1160,8 @@ static iBool processEvent_InputWidget_(iInputWidget *d, const SDL_Event *ev) { | |||
1160 | return iTrue; | 1160 | return iTrue; |
1161 | case SDLK_RETURN: | 1161 | case SDLK_RETURN: |
1162 | case SDLK_KP_ENTER: | 1162 | case SDLK_KP_ENTER: |
1163 | if (mods == KMOD_SHIFT) { | 1163 | if (mods == KMOD_SHIFT || (~d->inFlags & isUrl_InputWidgetFlag && |
1164 | deviceType_App() != desktop_AppDeviceType)) { | ||
1164 | pushUndo_InputWidget_(d); | 1165 | pushUndo_InputWidget_(d); |
1165 | deleteMarked_InputWidget_(d); | 1166 | deleteMarked_InputWidget_(d); |
1166 | insertChar_InputWidget_(d, '\n'); | 1167 | insertChar_InputWidget_(d, '\n'); |