whelan / fvtt-merchant-sheet-npc

FVTT - Merchant Sheet NPC 5E
MIT License
12 stars 13 forks source link

Pressing Enter key when updating price does same thing as pressing Escape - it cancels all changes #126

Closed AsianDumpring closed 2 years ago

AsianDumpring commented 2 years ago

If I click on price in the merchant NPC sheet, a dialogue box to update the price appears. I can update the price easily, but I must click the "update" box to save the entry. Pressing the "Enter" key will close the dialogue box and not save the price - the same results as pressing the "Escape" key. Escape and Enter should not have equivalent functions in this use-case.

IS: "Enter" does not save adjustments when changing the price of an item using NPC Merchant sheet

SHOULD BE: "Enter" saves the adjustment and is identical to clicking "update" while "Escape" does not save the adjustment and is identical to clicking "Cancel"

whelan commented 2 years ago

Fixed in 2.6.0