Make sure menu are closed when button is clicked again
authorKevin Ottens <kevin.ottens@nextcloud.com>
Mon, 14 Sep 2020 16:03:57 +0000 (18:03 +0200)
committerKevin Ottens (Rebase PR Action) <er-vin@users.noreply.github.com>
Tue, 15 Sep 2020 08:46:10 +0000 (08:46 +0000)
commit6ee37b59750e70470080430cea5edebe5b153367
tree713290ed10d946d3d5ca6b9f04bf207cc30ee40a
parentf7efe6a902004ebfe4526aa985591006daf71c06
Make sure menu are closed when button is clicked again

This way we also made sure all the Menu are currently on the same close
policy.

Signed-off-by: Kevin Ottens <kevin.ottens@nextcloud.com>
src/gui/tray/UserLine.qml
src/gui/tray/Window.qml