Skip to content

Commit

Permalink
Don't show digitizing toolbar when there's no layer to digitize
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jul 4, 2016
1 parent df3c5a5 commit f10adcf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/qml/DigitizingToolbar.qml
Expand Up @@ -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
Expand Down

0 comments on commit f10adcf

Please sign in to comment.