mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Don't grab the keyboard in channel picker dialog (#3575)
This commit is contained in:
parent
96e2d1f971
commit
baeec59a8a
|
@ -103,6 +103,7 @@
|
||||||
- Bugfix: Disabled /popout and /streamlink from working in non-twitch channels (e.g. /whispers) when supplied no arguments. (#3541)
|
- Bugfix: Disabled /popout and /streamlink from working in non-twitch channels (e.g. /whispers) when supplied no arguments. (#3541)
|
||||||
- Bugfix: Fixed automod and unban messages showing when moderation actions were disabled (#3548)
|
- Bugfix: Fixed automod and unban messages showing when moderation actions were disabled (#3548)
|
||||||
- Bugfix: Fixed crash when rendering a highlight inside of a sub message, with sub message highlights themselves turned off. (#3556)
|
- Bugfix: Fixed crash when rendering a highlight inside of a sub message, with sub message highlights themselves turned off. (#3556)
|
||||||
|
- Bugfix: Don't grab the keyboard in channel picker dialog (#3575)
|
||||||
- BugFix: Fixed SplitInput placeholder color. (#3606)
|
- BugFix: Fixed SplitInput placeholder color. (#3606)
|
||||||
- BugFix: Remove game from stream/split title when set to "nothing." (#3609)
|
- BugFix: Remove game from stream/split title when set to "nothing." (#3609)
|
||||||
- BugFix: Fixed double-clicking on usernames with right/middle click causing text selection. (#3608)
|
- BugFix: Fixed double-clicking on usernames with right/middle click causing text selection. (#3608)
|
||||||
|
|
|
@ -407,8 +407,6 @@ bool SelectChannelDialog::EventFilter::eventFilter(QObject *watched,
|
||||||
|
|
||||||
if (event->type() == QEvent::FocusIn)
|
if (event->type() == QEvent::FocusIn)
|
||||||
{
|
{
|
||||||
widget->grabKeyboard();
|
|
||||||
|
|
||||||
auto *radio = dynamic_cast<QRadioButton *>(watched);
|
auto *radio = dynamic_cast<QRadioButton *>(watched);
|
||||||
if (radio)
|
if (radio)
|
||||||
{
|
{
|
||||||
|
@ -417,11 +415,6 @@ bool SelectChannelDialog::EventFilter::eventFilter(QObject *watched,
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
else if (event->type() == QEvent::FocusOut)
|
|
||||||
{
|
|
||||||
widget->releaseKeyboard();
|
|
||||||
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);
|
||||||
|
|
Loading…
Reference in a new issue