diff --git a/terminatorlib/terminal.py b/terminatorlib/terminal.py index 46128706..0d98670c 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):