Skip to content

Commit

Permalink
Merge branch 'Chatterino:master' into chatterino7
Browse files Browse the repository at this point in the history
  • Loading branch information
TroyKomodo authored Dec 4, 2022
2 parents f3fd698 + 4fa214a commit 8f57d63
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Unversioned

- Minor: Search window input will automatically use currently selected text if present. (#4178)
- Minor: Cleared up highlight sound settings (#4194)
- Bugfix: Fixed highlight sounds not reloading on change properly. (#4194)
- Bugfix: Fixed CTRL + C not working in reply thread popups. (#4209)
Expand Down
6 changes: 6 additions & 0 deletions src/widgets/helper/SearchPopup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,12 @@ SearchPopup::SearchPopup(QWidget *parent, Split *split)
, split_(split)
{
this->initLayout();
if (this->split_ && this->split_->getChannelView().hasSelection())
{
this->searchInput_->setText(
this->split_->getChannelView().getSelectedText().trimmed());
this->searchInput_->selectAll();
}
this->resize(400, 600);
this->addShortcuts();
}
Expand Down

0 comments on commit 8f57d63

Please sign in to comment.