Skip to content

Commit

Permalink
Merge pull request #5475 from murraystevenson/stringPlugValueWidgetEs…
Browse files Browse the repository at this point in the history
…cFix

StringPlugValueWidget : Fix `Esc` keypress
  • Loading branch information
johnhaddon authored Sep 26, 2023
2 parents 1e465b0 + f194e0f commit 3c3b4b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Fixes
-----

- GraphEditor : Removed dynamic raster-space sizing of focus icon, as it caused excessive overlap with other nodes at certain zoom levels and on certain high resolution displays (#5435).
- StringPlugValueWidget : Fixed bug handling <kbd>Esc</kbd>.

1.2.10.3 (relative to 1.2.10.2)
========
Expand Down
2 changes: 1 addition & 1 deletion python/GafferUI/StringPlugValueWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def __keyPress( self, widget, event ) :

# escape abandons everything
if event.key == "Escape" :
self._updateFromPlugs()
self._requestUpdateFromValues()
return True
elif event.key == "Backspace" :
# Allow a 'delete' press with the initial keyboard focus and a
Expand Down

0 comments on commit 3c3b4b6

Please sign in to comment.