Commit f193805d authored by Thomas Surrel's avatar Thomas Surrel Committed by Kurt Hindenburg

Fix condition to redraw search result line

Summary: Regression from dd03c26a

Test Plan: Same than D16820

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: hindenburg, konsole-devel

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D17471
parent e7085310
......@@ -1557,7 +1557,7 @@ void TerminalDisplay::updateImage()
dirtyRegion |= _inputMethodData.previousPreeditRect;
if ((_screenWindow->currentResultLine() != -1) && (_screenWindow->scrollCount() > 0)) {
if ((_screenWindow->currentResultLine() != -1) && (_screenWindow->scrollCount() != 0)) {
// De-highlight previous result region
dirtyRegion |= _searchResultRect;
// Highlight new result region
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment