@@ -2,6 +2,8 @@
|
|||||||
|
|
||||||
## Unversioned
|
## Unversioned
|
||||||
|
|
||||||
|
- Bugfix: Fixed the channel name input not being focused when opening the select-channel dialog. (#6096)
|
||||||
|
|
||||||
## 2.5.3-beta.1
|
## 2.5.3-beta.1
|
||||||
|
|
||||||
- Minor: Added an option to allow multiple user-selected extensions to interact with Chatterino. (#5997)
|
- Minor: Added an option to allow multiple user-selected extensions to interact with Chatterino. (#5997)
|
||||||
|
|||||||
@@ -55,14 +55,14 @@ SelectChannelDialog::SelectChannelDialog(QWidget *parent)
|
|||||||
QObject::connect(ui.channel, &AutoCheckedRadioButton::toggled, this,
|
QObject::connect(ui.channel, &AutoCheckedRadioButton::toggled, this,
|
||||||
[this](bool enabled) {
|
[this](bool enabled) {
|
||||||
auto &ui = this->ui_;
|
auto &ui = this->ui_;
|
||||||
|
ui.channelName->setVisible(enabled);
|
||||||
|
ui.channelLabel->setVisible(enabled);
|
||||||
|
|
||||||
if (enabled)
|
if (enabled)
|
||||||
{
|
{
|
||||||
ui.channelName->setFocus();
|
ui.channelName->setFocus();
|
||||||
ui.channelName->selectAll();
|
ui.channelName->selectAll();
|
||||||
}
|
}
|
||||||
|
|
||||||
ui.channelName->setVisible(enabled);
|
|
||||||
ui.channelLabel->setVisible(enabled);
|
|
||||||
});
|
});
|
||||||
|
|
||||||
ui.channel->installEventFilter(&this->tabFilter_);
|
ui.channel->installEventFilter(&this->tabFilter_);
|
||||||
|
|||||||
Reference in New Issue
Block a user