una-xiv / umbra

Umbra XIV - Adds quality of life improvements to the game and consolidates common UI elements and actions into a single uniform interface.
GNU Affero General Public License v3.0
51 stars 18 forks source link

[BUG] Custom button commands repeat #112

Closed zbee closed 2 days ago

zbee commented 4 days ago

With version 2 Custom Buttons appear to repeat the command given to them based on how many times you have edited that Custom Button: imageimage

I typed the "editing now" message, and each time I did I edited the Command field of the same custom button.

Exact steps I took to see this bug:

haroldiedema commented 3 days ago

Hmm, it seems the OnClick event gets reattached every time you save the button 🤔 Feel free to open a PR if you can find it, otherwise I'll have a look at it tomorrow!