Fix Split Input hotkeys not being available when input is hidden (#3362)

This commit is contained in:
Mm2PL 2021-11-27 12:47:31 +00:00 committed by GitHub
parent 703f3717e2
commit f0df2fcb28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -37,6 +37,7 @@
- Minor: Made join and part message have links to usercards. (#3358)
- Minor: Show picked outcome in prediction badges. (#3357)
- Minor: Add support for Emoji in IRC (#3354)
- Bugfix: Fix Split Input hotkeys not being available when input is hidden (#3362)
- Bugfix: Fixed colored usernames sometimes not working. (#3170)
- Bugfix: Restored ability to send duplicate `/me` messages. (#3166)
- Bugfix: Notifications for moderators about other moderators deleting messages can now be disabled. (#3121)

View file

@ -457,7 +457,7 @@ void SplitInput::addShortcuts()
};
this->shortcuts_ = getApp()->hotkeys->shortcutsForCategory(
HotkeyCategory::SplitInput, actions, this);
HotkeyCategory::SplitInput, actions, this->parentWidget());
}
bool SplitInput::eventFilter(QObject *obj, QEvent *event)