summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/view.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/view.c b/source/view.c
index 4544d3ed..bfdc19a4 100644
--- a/source/view.c
+++ b/source/view.c
@@ -1421,9 +1421,6 @@ static void rofi_view_mainloop_iter ( RofiViewState *state, xcb_generic_event_t
state->retv = MENU_OK;
}
}
- else if ( state->text->text != NULL && strlen ( state->text->text ) > 0 ) {
- state->retv = MENU_CUSTOM_INPUT;
- }
else{
// Nothing entered and nothing selected.
state->retv = MENU_CUSTOM_INPUT;