Show More
@@ -419,7 +419,9 b' class ConsoleWidget(Configurable, QtGui.QWidget):' | |||
|
419 | 419 | """ |
|
420 | 420 | if self._control.textInteractionFlags() & QtCore.Qt.TextEditable: |
|
421 | 421 | try: |
|
422 | text = str(QtGui.QApplication.clipboard().text(mode)) | |
|
422 | # Remove any trailing newline, which confuses the GUI and | |
|
423 | # forces the user to backspace. | |
|
424 | text = str(QtGui.QApplication.clipboard().text(mode)).rstrip() | |
|
423 | 425 | except UnicodeEncodeError: |
|
424 | 426 | pass |
|
425 | 427 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now