diff options
author | Marcus Tillmanns <[email protected]> | 2023-07-31 09:30:22 +0200 |
---|---|---|
committer | Marcus Tillmanns <[email protected]> | 2023-07-31 11:23:47 +0000 |
commit | 385ff37f883445a42264677d20bb52bbe8b05667 (patch) | |
tree | 01174455c92ce33162f15b0a7cf1b74551cc7e87 /src/plugins/terminal/terminalwidget.cpp | |
parent | d56a2a233c428c440f6930382bdc227e288345e3 (diff) |
Terminal: Fix selection
A missing call to the base class meant that when starting to search with
a selection set, the selected text was not copied into the search field.
Change-Id: I1f2f1054a687d8b33b6733cc2a96e85ffa7f7816
Reviewed-by: Cristian Adam <[email protected]>
Diffstat (limited to 'src/plugins/terminal/terminalwidget.cpp')
-rw-r--r-- | src/plugins/terminal/terminalwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/terminal/terminalwidget.cpp b/src/plugins/terminal/terminalwidget.cpp index 0a4607ce67d..4b06c353433 100644 --- a/src/plugins/terminal/terminalwidget.cpp +++ b/src/plugins/terminal/terminalwidget.cpp @@ -410,7 +410,7 @@ void TerminalWidget::restart(const OpenTerminalParameters &openParameters) void TerminalWidget::selectionChanged(const std::optional<Selection> &newSelection) { - Q_UNUSED(newSelection); + SearchableTerminal::selectionChanged(newSelection); updateCopyState(); |