Fix event list + composer double context menu

Don't also Aopen the composer's context menu when there are
highlighted or selected messages in the timeline and user presses the
menu key.
This commit is contained in:
miruka
2020-07-20 12:40:38 -04:00
parent e38a4ed408
commit 7bfaced66b
2 changed files with 4 additions and 1 deletions

View File

@@ -95,6 +95,8 @@ HTextArea {
disabledText: qsTr("You do not have permission to post in this room")
placeholderText: qsTr("Type a message...")
enableCustomImagePaste: true
menuKeySpawnsMenu:
! (eventList && (eventList.currentItem || eventList.selectedCount))
backgroundColor: "transparent"
focusedBorderColor: "transparent"