-
Ell authored
In GimpSpinButton, don't propagate Enter key-press events if updating the spin-button's value in response changes the entered text. This prevents confirming dialogs when hitting Enter after entering a math expression in size entries, updating their value instead. Likewise, don't propagate Escape key-press events if a new value was entered, and restore the original value instead.