Don't show avatar tooltips when context menu open

This commit is contained in:
miruka
2020-07-22 00:04:12 -04:00
parent e917e29913
commit 0f1d0f336e
3 changed files with 9 additions and 10 deletions

View File

@@ -28,9 +28,9 @@ ApplicationWindow {
readonly property var visibleMenus: ({})
readonly property var visiblePopups: ({})
readonly property bool anyPopupOrMenu:
Object.keys(window.visibleMenus).length > 0 ||
Object.keys(window.visiblePopups).length > 0
readonly property bool anyMenu: Object.keys(visibleMenus).length > 0
readonly property bool anyPopup: Object.keys(visiblePopups).length > 0
readonly property bool anyPopupOrMenu: anyMenu || anyPopup
function saveState(obj) {