mirror of
https://github.com/KDE/konsole.git
synced 2026-06-12 16:05:45 -04:00
Pgup/pgdown/up/down from searchbar scrolls terminal
(cherry picked from commit 21f65230cf)
This commit is contained in:
committed by
Kurt Hindenburg
parent
473f48f371
commit
88ef28b4c6
@@ -530,6 +530,7 @@ void SessionController::setSearchBar(IncrementalSearchBar* searchBar)
|
||||
// connect new search bar
|
||||
_searchBar = searchBar;
|
||||
if (_searchBar) {
|
||||
connect(_searchBar, SIGNAL(unhandledMovementKeyPressed(QKeyEvent*)), this, SLOT(movementKeyFromSearchBarReceived(QKeyEvent*)));
|
||||
connect(_searchBar, SIGNAL(closeClicked()), this, SLOT(searchClosed()));
|
||||
connect(_searchBar, SIGNAL(searchFromClicked()), this, SLOT(searchFrom()));
|
||||
connect(_searchBar, SIGNAL(findNextClicked()), this, SLOT(findNextInHistory()));
|
||||
@@ -1554,6 +1555,12 @@ void SessionController::showDisplayContextMenu(const QPoint& position)
|
||||
}
|
||||
}
|
||||
|
||||
void SessionController::movementKeyFromSearchBarReceived(QKeyEvent *event)
|
||||
{
|
||||
QCoreApplication::sendEvent(_view, event);
|
||||
setSearchStartToWindowCurrentLine();
|
||||
}
|
||||
|
||||
void SessionController::sessionStateChanged(int state)
|
||||
{
|
||||
if (state == _previousState)
|
||||
|
||||
Reference in New Issue
Block a user