vsariola / sointu

Fork of 4klang that can target 386, amd64 and WebAssembly. Tools run on Windows, Mac & Linux
MIT License
249 stars 17 forks source link

Prompt "Are You Sure" when pressing Trashcan #5

Closed esaruoho closed 3 years ago

esaruoho commented 3 years ago

If I press Trashcan here or here, I never get prompted Are You sure. Would be good to prompt before deleting, as it is very heavily destructive image

vsariola commented 3 years ago

I agree that one rarely wants to delete an entire instrument, but units get deleted often, so clicking yes for every delete would be pretty bad. Both actions can be cancelled with Undo / Ctrl-Z.

Would it be enough to have confirmation only for deleting an instrument?

esaruoho commented 3 years ago

Delete instrument confirmation would be enough for sure

esaruoho commented 3 years ago

is this easy to implement?

vsariola commented 3 years ago

Not as easy as I would want; the GUI toolkit does not have "dialogs" so I have to construct one myself (add buttons & text etc.) Will implement as soon as I can.