nelsam / vidar

vidar is a highly experimental Go editor, written in Go, using gxui
The Unlicense
50 stars 7 forks source link

It shouldn't be possible select a file as project directory. #170

Closed Kvaz1r closed 5 years ago

Kvaz1r commented 5 years ago

Description

When add a new project one can choose a file as a folder for project.

Steps to reproduce

  1. Choose add project
  2. Select file instead of directory

Expected behavior

Message to status bar or record to log.

Actual behavior

Project is created with wrong path, possible lead to undefined behavior.