Skip to content

Commit

Permalink
Strengthen warning about deleting the profile
Browse files Browse the repository at this point in the history
  • Loading branch information
JuhoErvasti committed Sep 16, 2024
1 parent bc7c7b9 commit a1eb314
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/options/qgsuserprofileselectiondialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ void QgsUserProfileSelectionDialog::onRemoveProfile()
return;
}

QMessageBox::StandardButton response = QMessageBox::warning( this, tr( "Remove profile" ), QString( "Are you sure you want to delete profile '%1'?" ).arg( selectedProfile ), QMessageBox::Yes | QMessageBox::No );
QMessageBox::StandardButton response = QMessageBox::warning( this, tr( "Remove profile" ), QString( "Are you sure you want to delete profile '%1'? This action cannot be undone!" ).arg( selectedProfile ), QMessageBox::Yes | QMessageBox::No );

if ( response == QMessageBox::No )
return;
Expand Down

0 comments on commit a1eb314

Please sign in to comment.