Reapplication of select on copy fix that didn't get applied to gtk3
This commit is contained in:
parent
2443d4b871
commit
a0ba2cf969
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user