diff options
author | Nino van Hooff <ninovanhooff@gmail.com> | 2019-11-07 17:28:53 +0300 |
---|---|---|
committer | Nino van Hooff <ninovanhooff@gmail.com> | 2019-11-07 17:51:22 +0300 |
commit | 6e79f489e2087c32c84d82390ad514340165ff96 (patch) | |
tree | 4f42c877cf801f0a226ea92ce62235f336be282c | |
parent | 0b450ef9f468899c8b36d18e02d8edcc67879757 (diff) |
When multiple linked materials are found, only display the first
CURA-6917
-rw-r--r-- | resources/qml/Preferences/Materials/MaterialsView.qml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/qml/Preferences/Materials/MaterialsView.qml b/resources/qml/Preferences/Materials/MaterialsView.qml index f781497081..8ada441f1e 100644 --- a/resources/qml/Preferences/Materials/MaterialsView.qml +++ b/resources/qml/Preferences/Materials/MaterialsView.qml @@ -46,7 +46,7 @@ TabView { return "" } - return linkedMaterials.join(", "); + return linkedMaterials[0]; } function getApproximateDiameter(diameter) |