diff --git a/Changes.md b/Changes.md index 9ad047cde5a..4b53fe3280a 100644 --- a/Changes.md +++ b/Changes.md @@ -1,6 +1,11 @@ 1.3.x.x (relative to 1.3.5.0) ======= +Fixes +----- + +- Windows : Fixed a bug preventing anything except strings from being copied and pasted. + 1.3.5.0 (relative to 1.3.4.0) ======= diff --git a/apps/gui/gui-1.py b/apps/gui/gui-1.py index d78586d94e4..c72ed27e557 100644 --- a/apps/gui/gui-1.py +++ b/apps/gui/gui-1.py @@ -161,7 +161,7 @@ def __qtClipboardContentsChanged( self ) : from Qt import QtWidgets text = QtWidgets.QApplication.clipboard().text().encode( "utf-8" ) - if text : + if text and text != str( self.root().getClipboardContents() ).encode( "utf-8" ) : with Gaffer.Signals.BlockedConnection( self.__clipboardContentsChangedConnection ) : self.root().setClipboardContents( IECore.StringData( text ) )