Enables removing patterns from ignored files list.

Signed-off-by: Camila San <hello@camila.codes>
This commit is contained in:
Camila San 2018-01-31 22:59:51 +01:00
parent 89b2df62c5
commit f7697b0584
No known key found for this signature in database
GPG key ID: A0A1A2FD03979524

View file

@ -50,7 +50,7 @@ IgnoreListEditor::IgnoreListEditor(QWidget *parent)
addPattern(".csync_journal.db*", /*deletable=*/false, /*readonly=*/true);
addPattern("._sync_*.db*", /*deletable=*/false, /*readonly=*/true);
addPattern(".sync_*.db*", /*deletable=*/false, /*readonly=*/true);
readIgnoreFile(cfgFile.excludeFile(ConfigFile::SystemScope), true);
readIgnoreFile(cfgFile.excludeFile(ConfigFile::SystemScope), false);
readIgnoreFile(cfgFile.excludeFile(ConfigFile::UserScope), false);
connect(this, &QDialog::accepted, this, &IgnoreListEditor::slotUpdateLocalIgnoreList);