Skip to content

Commit 622fbfd

Browse files
committedOct 9, 2017
Fix enable state for change label map tool
1 parent e1781b9 commit 622fbfd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11024,7 +11024,8 @@ void QgisApp::updateLabelToolButtons()
1102411024
( qobject_cast<QgsMapToolRotateLabel *>( mMapTools.mRotateLabel ) &&
1102511025
qobject_cast<QgsMapToolRotateLabel *>( mMapTools.mRotateLabel )->layerIsRotatable( vlayer, colAng ) );
1102611026

11027-
enableChange = true;
11027+
if ( vlayer->isEditable() )
11028+
enableChange = true;
1102811029

1102911030
if ( enablePin && enableShowHide && enableMove && enableRotate && enableChange )
1103011031
break;

0 commit comments

Comments
 (0)
Please sign in to comment.