Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Improve init code warning wording
References #46974
  • Loading branch information
m-kuhn authored and github-actions[bot] committed Jan 24, 2022
1 parent 390c5de commit 7b1c23f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsgui.cpp
Expand Up @@ -322,7 +322,7 @@ bool QgsGui::pythonMacroAllowed( void ( *lambda )(), QgsMessageBar *messageBar )
{
QMessageBox msgBox( QMessageBox::Information, tr( "Python Macros" ),
tr( "Python macros are currently disabled. Do you allow this macro to run?" ) );
QAbstractButton *stopSessionButton = msgBox.addButton( tr( "Don't Ask Anymore" ), QMessageBox::DestructiveRole );
QAbstractButton *stopSessionButton = msgBox.addButton( tr( "Disable for this session" ), QMessageBox::DestructiveRole );
msgBox.addButton( tr( "No" ), QMessageBox::NoRole );
QAbstractButton *yesButton = msgBox.addButton( tr( "Yes" ), QMessageBox::YesRole );
msgBox.exec();
Expand Down

0 comments on commit 7b1c23f

Please sign in to comment.