Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
-----

- RenderMan : Fixed handling of `render:{name}` attributes, such as the `render:displayColor` attribute created by StandardAttributes, and `primvar:{name}` attributes loaded from USD files. These can now be accessed by PxrAttribute shaders as either `user:{name}` or just `{name}`.
- MultiLineTextWidget : Fixed bug causing text selection highlighting to persist after the widget has lost focus.

1.5.12.0 (relative to 1.5.11.0)
========
Expand Down
5 changes: 5 additions & 0 deletions python/GafferUI/MultiLineTextWidget.py
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,11 @@ def focusOutEvent( self, event ) :
if widget is not None :
widget._emitEditingFinished()

if event.reason() != QtCore.Qt.PopupFocusReason :
cursor = self.textCursor()
cursor.clearSelection()
self.setTextCursor( cursor )

QtWidgets.QPlainTextEdit.focusOutEvent( self, event )

def paintEvent( self, event ) :
Expand Down