Reapplication of select on copy fix that didn't get applied to gtk3

This commit is contained in:
Stephen Boddy 2017-02-06 06:12:25 +01:00
parent 2443d4b871
commit a0ba2cf969

View File

@ -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):