Fix regression in KateNormalInputMode

Review Request #128859 - Created Sept. 7, 2016 and submitted

Information
Roman Gilg
ktexteditor
master
Reviewers
kate
cullmann

Patch https://quickgit.kde.org/?p=ktexteditor.git&a=commit&h=9223ac51c9453017c9b11718eed858050697cfbd doesn't work 100% correctly:

Replicating this regression:
1. Open search bar in incremental or power mode and if you want to, type in a search pattern
2. Close the search bar, select some other word and open it again in the same mode (!) => search pattern is not set to new word

You can also:
1. like above
2. With open search bar select other word in the document and open again in the same mode => search pattern is not set to new word

In summary: KateNormalInputMode always has to rerun the respective enter methods of KateSearchBar in order to set a newly selected word as the new search pattern.

With this fix it's working again the same way as before the regression.

Roman Gilg
Christoph Cullmann
Roman Gilg
Christoph Cullmann
Roman Gilg
Review request changed

Status: Closed (submitted)

Change Summary:

Submitted with commit 2c4feeb0c9107732399f8ae3dacea3124572f345 by Roman Gilg to branch master.
Loading...