mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Fix "Change channel" popup title (#3273)
Co-authored-by: Rasmus Karlsson <rasmus.karlsson@pajlada.com>
This commit is contained in:
parent
e033f8e43e
commit
3f12d5bb3b
|
@ -33,6 +33,7 @@
|
||||||
- Bugfix: Fixed some channels still not loading in rare cases. (#3219)
|
- Bugfix: Fixed some channels still not loading in rare cases. (#3219)
|
||||||
- Bugfix: Fixed a bug with usernames or emotes completing from the wrong position. (#3229)
|
- Bugfix: Fixed a bug with usernames or emotes completing from the wrong position. (#3229)
|
||||||
- Bugfix: Fixed second chatterino icon appearing in the dock when restarting on a crash in macOS. (#3268)
|
- Bugfix: Fixed second chatterino icon appearing in the dock when restarting on a crash in macOS. (#3268)
|
||||||
|
- Bugfix: Fixed the "Change channel" popup showing a wrong window title (#3273)
|
||||||
- Bugfix: Fixed built-in Chatterino commands not working in whispers and mentions special channels (#3288)
|
- Bugfix: Fixed built-in Chatterino commands not working in whispers and mentions special channels (#3288)
|
||||||
- Bugfix: Fixed `QCharRef with an index pointing outside the valid range of a QString` warning that was emitted on every Tab press. (#3234)
|
- Bugfix: Fixed `QCharRef with an index pointing outside the valid range of a QString` warning that was emitted on every Tab press. (#3234)
|
||||||
- Bugfix: Fixed being unable to disable `First Message` highlights (#3293)
|
- Bugfix: Fixed being unable to disable `First Message` highlights (#3293)
|
||||||
|
|
|
@ -466,6 +466,7 @@ void Split::showChangeChannelPopup(const char *dialogTitle, bool empty,
|
||||||
dialog->setSelectedChannel(this->getIndirectChannel());
|
dialog->setSelectedChannel(this->getIndirectChannel());
|
||||||
}
|
}
|
||||||
dialog->setAttribute(Qt::WA_DeleteOnClose);
|
dialog->setAttribute(Qt::WA_DeleteOnClose);
|
||||||
|
dialog->setWindowTitle(dialogTitle);
|
||||||
dialog->show();
|
dialog->show();
|
||||||
dialog->closed.connect([=] {
|
dialog->closed.connect([=] {
|
||||||
if (dialog->hasSeletedChannel())
|
if (dialog->hasSeletedChannel())
|
||||||
|
|
|
@ -123,7 +123,7 @@ Split *SplitContainer::appendNewSplit(bool openChannelNameDialog)
|
||||||
|
|
||||||
if (openChannelNameDialog)
|
if (openChannelNameDialog)
|
||||||
{
|
{
|
||||||
split->showChangeChannelPopup("Open channel name", true, [=](bool ok) {
|
split->showChangeChannelPopup("Open channel", true, [=](bool ok) {
|
||||||
if (!ok)
|
if (!ok)
|
||||||
{
|
{
|
||||||
this->deleteSplit(split);
|
this->deleteSplit(split);
|
||||||
|
|
Loading…
Reference in a new issue