Skip to content

Commit

Permalink
Improve init code warning wording
Browse files Browse the repository at this point in the history
References #46974
  • Loading branch information
m-kuhn committed Jan 24, 2022
1 parent 3420e4b commit 3b42823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gui/qgsgui.cpp
Expand Up @@ -332,7 +332,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 3b42823

Please sign in to comment.