Fix #1333932 [Edit Book: Double-click on a file category raises a error](https://bugs.launchpad.net/calibre/+bug/1333932)