mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
Update folder list in status dialog without wiping selection.
This commit is contained in:
parent
bdbb85f245
commit
5a4caef2db
@ -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 New Issue
Block a user