Instead of directly closing the find bar with Esc, check whether a search is running from it.
In case it is, then cancel it, otherwise just close the find bar. This make it possible to cancel a running search in the find bar without waiting for it to find some match and stop. svn path=/trunk/KDE/kdegraphics/okular/; revision=965461
Showing with 19 additions and 2 deletions