FIX: Try to fix EInvalidOp

git-svn-id: http://svn.code.sf.net/p/doublecmd/code/trunk@5664 10bb5c37-c6d6-4c74-9a2a-30fc9b6e22f7