mirror of
https://github.com/nextcloud/desktop.git
synced 2024-10-24 05:15:40 +03:00
SelectiveSyncDialog: Fix sync-nothing case. #2219
This commit is contained in:
parent
1f129d0bcb
commit
e395282e0e
1 changed files with 2 additions and 0 deletions
|
@ -111,6 +111,8 @@ void SelectiveSyncTreeView::slotUpdateDirectories(const QStringList&list)
|
||||||
root->setData(0, Qt::UserRole, QString());
|
root->setData(0, Qt::UserRole, QString());
|
||||||
if (_oldBlackList.isEmpty()) {
|
if (_oldBlackList.isEmpty()) {
|
||||||
root->setCheckState(0, Qt::Checked);
|
root->setCheckState(0, Qt::Checked);
|
||||||
|
} else if (_oldBlackList.contains("")) {
|
||||||
|
root->setCheckState(0, Qt::Unchecked);
|
||||||
} else {
|
} else {
|
||||||
root->setCheckState(0, Qt::PartiallyChecked);
|
root->setCheckState(0, Qt::PartiallyChecked);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue