Skip to content

Commit

Permalink
fix save layer edits action for mesh layer
Browse files Browse the repository at this point in the history
Not updated when back to the mesh layer
  • Loading branch information
vcloarec committed Sep 20, 2021
1 parent 64a01d9 commit d314b09
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/qgisapp.cpp
Expand Up @@ -15680,6 +15680,7 @@ void QgisApp::activateDeactivateLayerRelatedActions( QgsMapLayer *layer )
bool isEditable = mlayer->isEditable();
mActionToggleEditing->setEnabled( canSupportEditing );
mActionToggleEditing->setChecked( canSupportEditing && isEditable );
mActionSaveLayerEdits->setEnabled( canSupportEditing && isEditable && mlayer->isModified() );
enableMeshEditingTools( isEditable );
mActionUndo->setEnabled( canSupportEditing && isEditable );
mActionRedo->setEnabled( canSupportEditing && isEditable );
Expand Down

0 comments on commit d314b09

Please sign in to comment.