From 6094613d069abe5866ff7d9a0a862fd81c2fc3e6 Mon Sep 17 00:00:00 2001 From: Mark Johnson Date: Tue, 15 Mar 2016 13:43:42 -0700 Subject: [PATCH] When truncating the URL, show the first 5 characters (for the protocol) --- interface/resources/qml/Stats.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/interface/resources/qml/Stats.qml b/interface/resources/qml/Stats.qml index 002e0fa404..7412e0168e 100644 --- a/interface/resources/qml/Stats.qml +++ b/interface/resources/qml/Stats.qml @@ -187,7 +187,7 @@ Item { font.pixelSize: root.fontSize visible: root.expanded; text: modelData.length > 30 - ? "..." + modelData.substring(modelData.length - 27) + ? modelData.substring(0, 5) + "..." + modelData.substring(modelData.length - 22) : modelData } }