From f05ef0712ecc31951ec55ab6cbb8d56a76fef3e9 Mon Sep 17 00:00:00 2001
From: Edric <edric.ladent-milaret@savoirfairelinux.com>
Date: Thu, 19 May 2016 12:29:22 -0400
Subject: [PATCH] select ring id text on double click

This add a visual feedback to show the ring id has been
copied to the clipboard

Change-Id: I83ea11e8b524d83d3b2183c1a5b62bac4401c7fe
Tuleap: #715
---
 idlabel.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/idlabel.cpp b/idlabel.cpp
index 2a05ebb..6ce42b2 100644
--- a/idlabel.cpp
+++ b/idlabel.cpp
@@ -35,5 +35,6 @@ IdLabel::mouseDoubleClickEvent(QMouseEvent* event)
     Q_UNUSED(event);
 
     QApplication::clipboard()->setText(this->text());
+    setSelection(0, text().size());
 }
 
-- 
GitLab