From dd34f10cb7b18460d335eb430ab49b0d95c3943d Mon Sep 17 00:00:00 2001 From: "tatiana.novikova" <tatiana.novikova@demlabs.net> Date: Tue, 14 Jan 2020 16:48:49 +0300 Subject: [PATCH] [-] Delete console.log --- widgets/DapComboBox.qml | 1 - 1 file changed, 1 deletion(-) diff --git a/widgets/DapComboBox.qml b/widgets/DapComboBox.qml index a15a54f..ecc68f9 100644 --- a/widgets/DapComboBox.qml +++ b/widgets/DapComboBox.qml @@ -56,7 +56,6 @@ DapComboBoxForm { if(index != currentIndex) { - console.log(fm.tightBoundingRect("le").width); if(tm.elidedText.length < tm.text.length) return tm.elidedText.substring(0, tm.elidedText.length-1) + ((fm.tightBoundingRect(tm.elidedText.substring(0, tm.elidedText.length-1)).width + fm.tightBoundingRect(tm.text.charAt(tm.elidedText.length-1) + '..').width) < tm.elideWidth ? -- GitLab