Dolphin: return focus to file view when pressing "enter" in filter bar
Review Request #109020 - Created Feb. 18, 2013 and submitted
This patch slightly changes the behavior of the dolphin filter bar to return back focus to the file/folder view when pressing "return" or "enter". The patch is inspired by the comments of Frank Reininghaus here: https://bugs.kde.org/show_bug.cgi?id=297140#c6
I tried it on top of 4.10 and it works :-)
Thanks for the patch! I'm sure that many users will appreciate this improvement. Looks good (except for the trailing white space, which shows up in red). I think that this should go to the master branch only, because this is a behaviour change to add some convenience, rather than a bug fix. Moreover, I'd add a "default: break" at the end of the 'switch' statement, to be consistent with other places where Dolphin uses 'switch' statements. Do you have commit access, or shall I push the change for you?
Thanks for the new patch! I took the liberty to make one little change (moved the connect statement to the DolphinViewContainer constructor to keep it consistent - all other connects from the filter bar are also done there) and pushed it to master.