mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fix the split "Search" menu action not opening the correct search window (#4305)
* Fix split menu "Search" action It now opens a split-specific search instead of a global one * Add changelog entry
This commit is contained in:
parent
e15a5727ad
commit
56f7c91a64
|
@ -23,6 +23,7 @@
|
||||||
- Bugfix: Fixed crash that could occur when closing down a split at the wrong time. (#4277)
|
- Bugfix: Fixed crash that could occur when closing down a split at the wrong time. (#4277)
|
||||||
- Bugfix: Fixed crash that could occur when closing down the last of a channel when reloading emotes. (#4278)
|
- Bugfix: Fixed crash that could occur when closing down the last of a channel when reloading emotes. (#4278)
|
||||||
- Bugfix: Fixed scrollbar highlight colors when changing message history limit. (#4288)
|
- Bugfix: Fixed scrollbar highlight colors when changing message history limit. (#4288)
|
||||||
|
- Bugfix: Fixed the split "Search" menu action not opening the correct search window. (#4305)
|
||||||
- Bugfix: Fixed an issue on Windows when opening links in incognito mode that contained forward slashes in hash (#4307)
|
- Bugfix: Fixed an issue on Windows when opening links in incognito mode that contained forward slashes in hash (#4307)
|
||||||
- Dev: Remove protocol from QApplication's Organization Domain (so changed from `https://www.chatterino.com` to `chatterino.com`). (#4256)
|
- Dev: Remove protocol from QApplication's Organization Domain (so changed from `https://www.chatterino.com` to `chatterino.com`). (#4256)
|
||||||
- Dev: Ignore `WM_SHOWWINDOW` hide events, causing fewer attempted rescales. (#4198)
|
- Dev: Ignore `WM_SHOWWINDOW` hide events, causing fewer attempted rescales. (#4198)
|
||||||
|
|
|
@ -373,8 +373,12 @@ std::unique_ptr<QMenu> SplitHeader::createMainMenu()
|
||||||
menu->addAction(
|
menu->addAction(
|
||||||
"Popup", this->split_, &Split::popup,
|
"Popup", this->split_, &Split::popup,
|
||||||
h->getDisplaySequence(HotkeyCategory::Window, "popup", {{"split"}}));
|
h->getDisplaySequence(HotkeyCategory::Window, "popup", {{"split"}}));
|
||||||
menu->addAction("Search", this->split_, &Split::showSearch,
|
menu->addAction(
|
||||||
h->getDisplaySequence(HotkeyCategory::Split, "showSearch"));
|
"Search", this->split_,
|
||||||
|
[this] {
|
||||||
|
this->split_->showSearch(true);
|
||||||
|
},
|
||||||
|
h->getDisplaySequence(HotkeyCategory::Split, "showSearch"));
|
||||||
menu->addAction(
|
menu->addAction(
|
||||||
"Set filters", this->split_, &Split::setFiltersDialog,
|
"Set filters", this->split_, &Split::setFiltersDialog,
|
||||||
h->getDisplaySequence(HotkeyCategory::Split, "pickFilters"));
|
h->getDisplaySequence(HotkeyCategory::Split, "pickFilters"));
|
||||||
|
|
Loading…
Reference in a new issue