mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-27 09:30:13 +03:00
Update folder list in status dialog without wiping selection.
This commit is contained in:
parent
bdbb85f245
commit
5a4caef2db
1 changed files with 4 additions and 6 deletions
|
@ -448,6 +448,10 @@ void Application::computeOverallSyncStatus()
|
|||
trayMessage += "\n";
|
||||
}
|
||||
trayMessage += folderMessage;
|
||||
|
||||
if( _statusDialog->isVisible() ) {
|
||||
_statusDialog->slotUpdateFolderState( syncedFolder );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -461,14 +465,8 @@ void Application::computeOverallSyncStatus()
|
|||
#endif
|
||||
// }
|
||||
|
||||
|
||||
_tray->setIcon( statusIcon );
|
||||
_tray->setToolTip(trayMessage);
|
||||
|
||||
// Only refresh the folder if it is being shown
|
||||
if( _statusDialog->isVisible() ) {
|
||||
_statusDialog->setFolderList( map );
|
||||
}
|
||||
}
|
||||
|
||||
} // namespace Mirall
|
||||
|
|
Loading…
Reference in a new issue