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

TimelineTextEditSelector: fix selection extension #852

Merged
merged 1 commit into from
Mar 1, 2023

Conversation

rpallai
Copy link
Contributor

@rpallai rpallai commented Feb 16, 2023

Extension of current selection by shift+click was broken due to
this method wasn't brought to the right class when TimelineWidget
was factored out of ChatRoomWidget.

Error message:
qrc:/qml/TimelineTextEditSelector.qml:23: TypeError: Property 'getModifierKeys' of object TimelineWidget(0x24026c0) is not a function

Copy link
Member

@KitsuneRal KitsuneRal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I was too hasty with the previous review. Actually, this method is defined in ChatRoomWidget but wasn't brought to the right class when TimelineWidget was factored out of ChatRoomWidget. So would you mind deleting ChatRoomWidget::getModifierKeys(), while we're at it?

@KitsuneRal KitsuneRal added the bug/fix Quaternion doesn't work as expected label Feb 27, 2023
Extension of current selection by shift+click was broken due to
this method wasn't brought to the right class when `TimelineWidget`
was factored out of `ChatRoomWidget`.
@KitsuneRal KitsuneRal merged commit d35dd6f into quotient-im:dev Mar 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/fix Quaternion doesn't work as expected
Projects
Status: Version 0.0.96 - Done
Development

Successfully merging this pull request may close these issues.

2 participants