forked from qt-creator/qt-creator
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 <cristian.adam@qt.io>
This commit is contained in:
@@ -410,7 +410,7 @@ void TerminalWidget::restart(const OpenTerminalParameters &openParameters)
|
|||||||
|
|
||||||
void TerminalWidget::selectionChanged(const std::optional<Selection> &newSelection)
|
void TerminalWidget::selectionChanged(const std::optional<Selection> &newSelection)
|
||||||
{
|
{
|
||||||
Q_UNUSED(newSelection);
|
SearchableTerminal::selectionChanged(newSelection);
|
||||||
|
|
||||||
updateCopyState();
|
updateCopyState();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user