winleafs / Winleafs

Winleafs: Windows application for Nanoleaf lights
GNU General Public License v3.0
85 stars 9 forks source link

Adding a Device Allows for Blank Device Name #156

Closed nsvrana closed 3 years ago

nsvrana commented 3 years ago

Describe the bug When you add a device you can save it without a name, creating crashes and other bad behavior throughout the application.

To Reproduce Steps to reproduce the behavior:

  1. Add a new device.
  2. Leave the name blank.
  3. Crash when opening options.

Logs 2021-01-02 16:05:12.6981|FATAL|Winleafs.Wpf.Views.App|Unhandled exception occurred System.ArgumentNullException: Value cannot be null. (Parameter 'key')

StijnOostdam commented 3 years ago

Hey, thanks for the report. Don't know how this one slipped in, will be fixed in the next release.