Brewtarget crashes when pressing delete on keyboard
Bug #1418167 reported by
mackanzx
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Brewtarget |
In Progress
|
Medium
|
Mik Firestone |
Bug Description
Problem:
I thought the delete button on the keyboard would be identical to pressing the minus sign in the GUI.
You can delete recipes and folders with the delete button as intended.
But if you try to delete e.g. a mash step or fermentatable entry (with delete, not "minus"), it will still try to remove something from the recipe tree. With nothing selected, you get null, and then deletion doesn't null check.
It seems like selecting a folder in the recipe tree will save the program from crashing.
To post a comment you must log in.
The keybindings likely need to be made aware of where the focus is when the keys are pressed. I don't think it will be too hard.