From f10adcfde35c078fab4bcfd2e4091f349c73da39 Mon Sep 17 00:00:00 2001 From: Matthias Kuhn Date: Mon, 4 Jul 2016 15:12:04 +0200 Subject: [PATCH] Don't show digitizing toolbar when there's no layer to digitize --- src/qml/DigitizingToolbar.qml | 1 + 1 file changed, 1 insertion(+) diff --git a/src/qml/DigitizingToolbar.qml b/src/qml/DigitizingToolbar.qml index 1a1b6fbd84..9c0a1d861c 100644 --- a/src/qml/DigitizingToolbar.qml +++ b/src/qml/DigitizingToolbar.qml @@ -6,6 +6,7 @@ Row { id: digitizingToolbar property RubberbandModel rubberbandModel property bool isDigitizing: rubberbandModel.vertexCount > 1 //!< Readonly + visible: rubberbandModel.vectorLayer !== null spacing: 4 * dp padding: 4 * dp