summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2018-03-12 12:11:18 -0300
committerThibault Saunier <tsaunier@igalia.com>2018-03-12 12:11:18 -0300
commit70dcd99599b1dbffde8de4a12822af9780b785bb (patch)
tree8678a185ae1240c2205c4582341d794e966d8860
parent20282912192c00538a8b05a400b159db4e184297 (diff)
debug-viewer: Fix copying current line
-rw-r--r--debug-viewer/GstDebugViewer/GUI/window.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug-viewer/GstDebugViewer/GUI/window.py b/debug-viewer/GstDebugViewer/GUI/window.py
index 9739eb4..3833c44 100644
--- a/debug-viewer/GstDebugViewer/GUI/window.py
+++ b/debug-viewer/GstDebugViewer/GUI/window.py
@@ -686,7 +686,7 @@ class Window (object):
line_text = model.access_offset(line_offset).strip()
line_text = Data.strip_escape(line_text)
- self.clipboard.set_text(line_text)
+ self.clipboard.set_text(line_text, -1)
@action
def handle_edit_copy_message_action_activate(self, action):