From e395282e0ec4a732b0725c6068bd160478783ec5 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Wed, 17 Sep 2014 16:13:47 +0200 Subject: [PATCH] SelectiveSyncDialog: Fix sync-nothing case. #2219 --- src/mirall/selectivesyncdialog.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/mirall/selectivesyncdialog.cpp b/src/mirall/selectivesyncdialog.cpp index 081cfdb0d..f112def2c 100644 --- a/src/mirall/selectivesyncdialog.cpp +++ b/src/mirall/selectivesyncdialog.cpp @@ -111,6 +111,8 @@ void SelectiveSyncTreeView::slotUpdateDirectories(const QStringList&list) root->setData(0, Qt::UserRole, QString()); if (_oldBlackList.isEmpty()) { root->setCheckState(0, Qt::Checked); + } else if (_oldBlackList.contains("")) { + root->setCheckState(0, Qt::Unchecked); } else { root->setCheckState(0, Qt::PartiallyChecked); }