Skip to content

Commit

Permalink
Merge pull request #7732 from nextcloud/backport/7730/stable-3.15
Browse files Browse the repository at this point in the history
[stable-3.15] Fix "open local or group folders" menu not showing
  • Loading branch information
mgallien authored Jan 8, 2025
2 parents be8a159 + 2f3dcb5 commit 951a7b3
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ doc/_build/*
*.kdev4
admin/win/nsi/l10n/pofiles/*.po
*.swp
*.swo
*~$
build*
cscope.*
Expand Down
Binary file removed src/gui/tray/.wheelhandler.h.swo
Binary file not shown.
4 changes: 2 additions & 2 deletions src/gui/tray/MainWindow.qml
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ ApplicationWindow {

if (Systray.isOpen) {
trayWindowHeader.currentAccountHeaderButton.accountMenu.close();
appsMenu.close();
openLocalFolderButton.closeMenu()
trayWindowHeader.appsMenu.close();
trayWindowHeader.openLocalFolderButton.closeMenu()
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/gui/tray/TrayFoldersMenuButton.qml
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,8 @@ HeaderButton {
}

Component.onCompleted: {
foldersMenuLoader.openMenu = open
foldersMenuLoader.closeMenu = close
foldersMenuLoader.openMenu = function() { open() }
foldersMenuLoader.closeMenu = function() { close() }
}

Connections {
Expand Down
2 changes: 2 additions & 0 deletions src/gui/tray/TrayWindowHeader.qml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ Rectangle {
id: root

readonly property alias currentAccountHeaderButton: currentAccountHeaderButton
readonly property alias openLocalFolderButton: openLocalFolderButton
readonly property alias appsMenu: appsMenu

color: Style.currentUserHeaderColor

Expand Down

0 comments on commit 951a7b3

Please sign in to comment.