mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-29 14:18:49 +03:00
Merge pull request #1345 from q234rty/master
Fix some leftover menus from #1319
This commit is contained in:
commit
8c06460e91
2 changed files with 9 additions and 0 deletions
|
@ -20,6 +20,14 @@ Page {
|
||||||
property int avatarSize: Math.ceil(fontMetrics.lineSpacing * 1.6)
|
property int avatarSize: Math.ceil(fontMetrics.lineSpacing * 1.6)
|
||||||
property bool collapsed: false
|
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 {
|
ListView {
|
||||||
id: communitiesList
|
id: communitiesList
|
||||||
|
|
||||||
|
|
|
@ -29,6 +29,7 @@ Item {
|
||||||
Connections {
|
Connections {
|
||||||
function onHideMenu() {
|
function onHideMenu() {
|
||||||
messageContextMenu.close()
|
messageContextMenu.close()
|
||||||
|
replyContextMenu.close()
|
||||||
}
|
}
|
||||||
target: MainWindow
|
target: MainWindow
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue