Merge pull request #1345 from q234rty/master

Fix some leftover menus from #1319
pull/1347/head
DeepBlueV7.X 2 years ago committed by GitHub
commit 8c06460e91
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      resources/qml/CommunitiesList.qml
  2. 1
      resources/qml/MessageView.qml

@ -20,6 +20,14 @@ Page {
property int avatarSize: Math.ceil(fontMetrics.lineSpacing * 1.6)
property bool collapsed: false
// HACK: https://bugreports.qt.io/browse/QTBUG-83972, qtwayland cannot auto hide menu
Connections {
function onHideMenu() {
communityContextMenu.close()
}
target: MainWindow
}
ListView {
id: communitiesList

@ -29,6 +29,7 @@ Item {
Connections {
function onHideMenu() {
messageContextMenu.close()
replyContextMenu.close()
}
target: MainWindow
}

Loading…
Cancel
Save