From a0ba2cf9695150250ffa60a0ae084a0d983f0376 Mon Sep 17 00:00:00 2001 From: Stephen Boddy Date: Mon, 6 Feb 2017 06:12:25 +0100 Subject: [PATCH] Reapplication of select on copy fix that didn't get applied to gtk3 --- terminatorlib/terminal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index d3b3ab1b..e9917a5e 100755 --- a/terminatorlib/terminal.py +++ b/terminatorlib/terminal.py @@ -330,7 +330,7 @@ class Terminal(Gtk.VBox): del(self.matches[name]) def maybe_copy_clipboard(self): - if self.config['copy_on_selection']: + if self.config['copy_on_selection'] and self.vte.get_has_selection(): self.vte.copy_clipboard() def connect_signals(self):