Skip to content

Commit

Permalink
Fix point digitizing
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jun 29, 2016
1 parent 03609e2 commit bc4c2f0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qml/DigitizingToolbar.qml
Expand Up @@ -42,7 +42,7 @@ Row {
Button {
id: confirmButton
iconSource: {
if ( rubberbandModel.geometryType === 0 )
if ( Number( rubberbandModel.geometryType ) === 0 )
{
Style.getThemeIcon( "ic_create_white_24dp" )
}
Expand All @@ -52,7 +52,7 @@ Row {
}
}
visible: {
if ( rubberbandModel.geometryType === 0 )
if ( Number( rubberbandModel.geometryType ) === 0 )
{
true
}
Expand Down

0 comments on commit bc4c2f0

Please sign in to comment.