IgnoreFiles: Fix the socket API would not load the new custom ignored files #3496
authorOlivier Goffart <ogoffart@woboq.com>
Tue, 27 Oct 2015 15:07:59 +0000 (16:07 +0100)
committerOlivier Goffart <ogoffart@woboq.com>
Tue, 27 Oct 2015 15:07:59 +0000 (16:07 +0100)
commite86b4203b9b2db143477ef347d0dfc836ef0214b
treeae1d66f8442b2aaf831ca09f6ad2939a904ddc0e
parent05dd9554f9d4f168f2cbd5a8157fe1a9337ad50a
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
src/gui/ignorelisteditor.cpp