litedb-org / LiteDB.Studio

A GUI tool for viewing and editing documents for LiteDB v5
MIT License
806 stars 203 forks source link

fixed bug while clicking 'Connect' button w/o properly value in 'filename' field #85

Open am1goo opened 8 months ago

am1goo commented 8 months ago

As I see, there is no checks about correct value in 'filename' field. In this case I can get unhandled exception if I click "Connect" button with empty string in this field image

am1goo commented 8 months ago

similar to https://github.com/mbdavid/LiteDB.Studio/pull/83 but with additional checks about file existence and user-experienced message box

am1goo commented 7 months ago

@mbdavid any updates? What do you think about this fix?