Skip to content

Commit

Permalink
Fix enable state for change label map tool
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Oct 9, 2017
1 parent e1781b9 commit 622fbfd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgisapp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11024,7 +11024,8 @@ void QgisApp::updateLabelToolButtons()
( qobject_cast<QgsMapToolRotateLabel *>( mMapTools.mRotateLabel ) &&
qobject_cast<QgsMapToolRotateLabel *>( mMapTools.mRotateLabel )->layerIsRotatable( vlayer, colAng ) );

enableChange = true;
if ( vlayer->isEditable() )
enableChange = true;

if ( enablePin && enableShowHide && enableMove && enableRotate && enableChange )
break;
Expand Down

0 comments on commit 622fbfd

Please sign in to comment.