Folder: fix removing folder with escaped characters (#4943)
authorOlivier Goffart <olivier@woboq.com>
Fri, 3 Jun 2016 11:10:01 +0000 (13:10 +0200)
committerMarkus Goetz <markus@woboq.com>
Fri, 3 Jun 2016 11:10:01 +0000 (13:10 +0200)
commitb99c8fe28b8586cff5bed1297c501dbea60a7c81
tree6199d5c04adf1aa2d3e5921e3a8cd82a66dd3f65
parent5a3120bd52d166601e30a3fac471f6253111e4b8
Folder: fix removing folder with escaped characters (#4943)

FolderDefinition::save and load escapes the alias. We also need to escape
it when we remove it.
New folder can't be created with alias that needs escaping, but old folder
from old config may still exist, and we must allow user to delete them.
src/gui/folder.cpp