destradax / scratch

A simple scratch for Github's Atom
MIT License
7 stars 2 forks source link

Bug: Using hotkey to close Scratch with unsaved changes raises error #13

Closed nholden closed 5 years ago

nholden commented 5 years ago

👋 Hi! Scratch fan here! I noticed a small bug today that I thought might be worth sharing. I'm thinking about taking a stab at a fix as part of Hacktoberfest.

Demo

scratch-bug

Steps to reproduce

  1. Open Scratch.
  2. Make unsaved changes.
  3. Close Scratch using the hotkey.
  4. Click "Save."

Error message

screen shot 2018-09-30 at 6 31 46 pm