Fixed #5585 (GUI: Project file -dialog lists all .cfg files as config libraries)