mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Corrected determination of search popup's title (#3790)
This commit is contained in:
parent
e9e3e5a25a
commit
5de4e9d9cc
1 changed files with 4 additions and 4 deletions
|
@ -109,17 +109,17 @@ void SearchPopup::updateWindowTitle()
|
|||
{
|
||||
QString historyName;
|
||||
|
||||
if (this->channelName_ == "/whispers")
|
||||
if (this->searchChannels_.size() > 1)
|
||||
{
|
||||
historyName = "whispers";
|
||||
historyName = "multiple channels'";
|
||||
}
|
||||
else if (this->channelName_ == "/mentions")
|
||||
{
|
||||
historyName = "mentions";
|
||||
}
|
||||
else if (this->searchChannels_.size() > 1)
|
||||
else if (this->channelName_ == "/whispers")
|
||||
{
|
||||
historyName = "multiple channels'";
|
||||
historyName = "whispers";
|
||||
}
|
||||
else if (this->channelName_.isEmpty())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue