Skip to content
Permalink
Browse files

Fix missing verification dialog on "all layer" save/rollback/cancel

Fixes #17490
  • Loading branch information
nyalldawson committed Feb 6, 2018
1 parent 33ca8fc commit 15e04bc9cb961d6d0f9241ed7273c9c34cdda02d
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/app/qgisapp.cpp
@@ -1982,11 +1982,11 @@ void QgisApp::createActions()
connect( mActionToggleEditing, &QAction::triggered, this, [ = ] { toggleEditing(); } );
connect( mActionSaveLayerEdits, &QAction::triggered, this, &QgisApp::saveActiveLayerEdits );
connect( mActionSaveEdits, &QAction::triggered, this, [ = ] { saveEdits(); } );
connect( mActionSaveAllEdits, &QAction::triggered, this, &QgisApp::saveAllEdits );
connect( mActionSaveAllEdits, &QAction::triggered, this, [ = ] { saveAllEdits(); } );
connect( mActionRollbackEdits, &QAction::triggered, this, &QgisApp::rollbackEdits );
connect( mActionRollbackAllEdits, &QAction::triggered, this, &QgisApp::rollbackAllEdits );
connect( mActionRollbackAllEdits, &QAction::triggered, this, [ = ] { rollbackAllEdits(); } );
connect( mActionCancelEdits, &QAction::triggered, this, [ = ] { cancelEdits(); } );
connect( mActionCancelAllEdits, &QAction::triggered, this, &QgisApp::cancelAllEdits );
connect( mActionCancelAllEdits, &QAction::triggered, this, [ = ] { cancelAllEdits(); } );
connect( mActionLayerSaveAs, &QAction::triggered, this, [ = ] { saveAsFile(); } );
connect( mActionSaveLayerDefinition, &QAction::triggered, this, &QgisApp::saveAsLayerDefinition );
connect( mActionRemoveLayer, &QAction::triggered, this, &QgisApp::removeLayer );

0 comments on commit 15e04bc

Please sign in to comment.
You can’t perform that action at this time.