fixed bug where it was possible to set an empty location #13

Merged
marek merged 2 commits from fix-empty-location into master 3 months ago