mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Refresh visibility of ListView based on presence of items on showWindow
Signed-off-by: Dominique Fuchs <32204802+DominiqueFuchs@users.noreply.github.com>
This commit is contained in:
parent
1c22070a74
commit
7ea2f3fa59
@ -62,6 +62,7 @@ Window {
|
||||
trayWindow.setY( systrayBackend.calcTrayWindowY());
|
||||
systrayBackend.setOpened();
|
||||
userModelBackend.fetchCurrentActivityModel();
|
||||
activityListView.visible = (activityListView.model.rowCount() > 0)
|
||||
}
|
||||
onHideWindow: {
|
||||
trayWindow.hide();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user