~elementary-apps/pantheon-terminal/trunk

« back to all changes in this revision

Viewing changes to src/PantheonTerminalWindow.vala

  • Committer: RabbitBot
  • Author(s): Carl Groner
  • Date: 2017-04-20 18:09:49 UTC
  • mfrom: (953.1.1 fix-1169255)
  • Revision ID: rabbitbot-20170420180949-rj7mmwbob7fl056l
* Fix links not being selectable for copying.

Show diffs side-by-side

added added

removed removed

Lines of Context:
709
709
        }
710
710
 
711
711
        void action_copy () {
712
 
            if (current_terminal.uri != null)
 
712
            if (current_terminal.uri != null && ! current_terminal.get_has_selection ())
713
713
                clipboard.set_text (current_terminal.uri,
714
714
                                    current_terminal.uri.length);
715
715
            else