Fix text cursor in open channel dialog (#4263)

* Fix text cursor not blinking in open channel dialog

* Update CHANGELOG.md

Co-authored-by: pajlada <rasmus.karlsson@pajlada.com>
This commit is contained in:
Douglas 2022-12-27 14:27:11 -03:00 committed by GitHub
parent 04f685f3f3
commit b2a8327696
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -15,6 +15,7 @@
- Bugfix: Fixed Reply window missing selection clear behaviour between chat and input box. (#4218) - Bugfix: Fixed Reply window missing selection clear behaviour between chat and input box. (#4218)
- Bugfix: Fixed crash that could occur when changing Tab layout and utilizing multiple windows. (#4248) - Bugfix: Fixed crash that could occur when changing Tab layout and utilizing multiple windows. (#4248)
- Bugfix: Fixed text sometimes not pasting properly when image uploader was disabled. (#4246) - Bugfix: Fixed text sometimes not pasting properly when image uploader was disabled. (#4246)
- Bugfix: Fixed text cursor(caret) not showing in open channel dialog. (#4196)
- 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)
- Dev: Migrated to C++ 20 (#4252, #4257) - Dev: Migrated to C++ 20 (#4252, #4257)

View file

@ -410,10 +410,13 @@ bool SelectChannelDialog::EventFilter::eventFilter(QObject *watched,
if (radio) if (radio)
{ {
radio->setChecked(true); radio->setChecked(true);
}
return true; return true;
} }
else
{
return false;
}
}
else if (event->type() == QEvent::KeyPress) else if (event->type() == QEvent::KeyPress)
{ {
QKeyEvent *event_key = static_cast<QKeyEvent *>(event); QKeyEvent *event_key = static_cast<QKeyEvent *>(event);