Fix: dont select mod buttons at triple click (#4961)

This commit is contained in:
kornes 2023-11-18 11:39:10 +00:00 committed by GitHub
parent 3d9db1d528
commit 0bdcaae5d1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -35,6 +35,7 @@
- Bugfix: Fixed a crash when clicking `More messages below` button in a usercard and closing it quickly. (#4933) - Bugfix: Fixed a crash when clicking `More messages below` button in a usercard and closing it quickly. (#4933)
- Bugfix: Fixed thread popup window missing messages for nested threads. (#4923) - Bugfix: Fixed thread popup window missing messages for nested threads. (#4923)
- Bugfix: Fixed an occasional crash for channel point redemptions with text input. (#4949) - Bugfix: Fixed an occasional crash for channel point redemptions with text input. (#4949)
- Bugfix: Fixed triple click on message also selecting moderation buttons. (#4961)
- Bugfix: Fixed a freeze from a bad regex in _Ignores_. (#4965) - Bugfix: Fixed a freeze from a bad regex in _Ignores_. (#4965)
- Bugfix: Fixed some emotes not appearing when using _Ignores_. (#4965) - Bugfix: Fixed some emotes not appearing when using _Ignores_. (#4965)
- Bugfix: Fixed lookahead/-behind not working in _Ignores_. (#4965) - Bugfix: Fixed lookahead/-behind not working in _Ignores_. (#4965)

View file

@ -430,9 +430,8 @@ size_t MessageLayoutContainer::getSelectionIndex(QPoint point) const
size_t MessageLayoutContainer::getFirstMessageCharacterIndex() const size_t MessageLayoutContainer::getFirstMessageCharacterIndex() const
{ {
static const FlagsEnum<MessageElementFlag> skippedFlags{ static const FlagsEnum<MessageElementFlag> skippedFlags{
MessageElementFlag::RepliedMessage, MessageElementFlag::RepliedMessage, MessageElementFlag::Timestamp,
MessageElementFlag::Timestamp, MessageElementFlag::ModeratorTools, MessageElementFlag::Badges,
MessageElementFlag::Badges,
MessageElementFlag::Username, MessageElementFlag::Username,
}; };