Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: dont select mod buttons at triple click #4961

Merged
merged 4 commits into from
Nov 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
- 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 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 some emotes not appearing when using _Ignores_. (#4965)
- Bugfix: Fixed lookahead/-behind not working in _Ignores_. (#4965)
Expand Down
5 changes: 2 additions & 3 deletions src/messages/layouts/MessageLayoutContainer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -430,9 +430,8 @@ size_t MessageLayoutContainer::getSelectionIndex(QPoint point) const
size_t MessageLayoutContainer::getFirstMessageCharacterIndex() const
{
static const FlagsEnum<MessageElementFlag> skippedFlags{
MessageElementFlag::RepliedMessage,
MessageElementFlag::Timestamp,
MessageElementFlag::Badges,
MessageElementFlag::RepliedMessage, MessageElementFlag::Timestamp,
MessageElementFlag::ModeratorTools, MessageElementFlag::Badges,
MessageElementFlag::Username,
};

Expand Down
Loading