Fix no selected file error message
Merge pull request #990 from pavelbier/master

No selected file error message