Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2015-10-27 18:07:59 +0300
committerOlivier Goffart <ogoffart@woboq.com>2015-10-27 18:07:59 +0300
commite86b4203b9b2db143477ef347d0dfc836ef0214b (patch)
treeae1d66f8442b2aaf831ca09f6ad2939a904ddc0e /src/gui/ignorelisteditor.cpp
parent05dd9554f9d4f168f2cbd5a8157fe1a9337ad50a (diff)
IgnoreFiles: Fix the socket API would not load the new custom ignored files #3496
We did not flush or closed the file after having modified it from the UI. So when the socket api was reloading it, it wouldn't be able to load the newly added rules
Diffstat (limited to 'src/gui/ignorelisteditor.cpp')
-rw-r--r--src/gui/ignorelisteditor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/ignorelisteditor.cpp b/src/gui/ignorelisteditor.cpp
index b172bd3b2..7b5acd158 100644
--- a/src/gui/ignorelisteditor.cpp
+++ b/src/gui/ignorelisteditor.cpp
@@ -110,6 +110,7 @@ void IgnoreListEditor::slotUpdateLocalIgnoreList()
QMessageBox::warning(this, tr("Could not open file"),
tr("Cannot write changes to '%1'.").arg(ignoreFile));
}
+ ignores.close(); //close the file before reloading stuff.
FolderMan * folderMan = FolderMan::instance();