We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15e04bc commit aa3a335Copy full SHA for aa3a335
src/app/qgisapp.cpp
@@ -8792,14 +8792,14 @@ void QgisApp::cancelAllEdits( bool verifyAction )
8792
bool QgisApp::verifyEditsActionDialog( const QString &act, const QString &upon )
8793
{
8794
bool res = false;
8795
- switch ( QMessageBox::information( nullptr,
8796
- tr( "Current edits" ),
8797
- tr( "%1 current changes for %2 layer(s)?" )
8798
- .arg( act,
8799
- upon ),
8800
- QMessageBox::Cancel | QMessageBox::Ok ) )
8801
- {
8802
- case QMessageBox::Ok:
+ switch ( QMessageBox::question( nullptr,
+ tr( "Current edits" ),
+ tr( "%1 current changes for %2 layer(s)?" )
+ .arg( act,
+ upon ),
+ QMessageBox::Yes | QMessageBox::No ) )
+ {
+ case QMessageBox::Yes:
8803
res = true;
8804
break;
8805
default:
0 commit comments