Commit 43b2927e authored by Robert Knight's avatar Robert Knight

Clear the selection when erasing the search field.

svn path=/branches/work/konsole-split-view/; revision=658411
parent 1f07a075
......@@ -556,6 +556,11 @@ void SessionController::searchHistory(bool showSearchBar)
}
void SessionController::searchTextChanged(const QString& text)
{
Q_ASSERT( _view->screenWindow() );
if ( text.isEmpty() )
_view->screenWindow()->clearSelection();
beginSearch(text , SearchHistoryTask::Forwards);
}
void SessionController::beginSearch(const QString& text , int direction)
......
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