Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Correct enum
  • Loading branch information
m-kuhn committed May 27, 2019
1 parent 9e45626 commit 68635d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgswelcomepage.cpp
Expand Up @@ -247,7 +247,7 @@ void QgsWelcomePage::showContextMenuForTemplates( QPoint point )
{
QMessageBox msgBox( this );
msgBox.setWindowTitle( tr( "Delete Template" ) );
msgBox.setText( tr( "Do you want to delete the template %1? This action can not be undone." ).arg( index.data( QgsRecentProjectItemsModel::TitleRole ).toString() ) );
msgBox.setText( tr( "Do you want to delete the template %1? This action can not be undone." ).arg( index.data( QgsProjectListItemDelegate::TitleRole ).toString() ) );
auto deleteButton = msgBox.addButton( tr( "Delete" ), QMessageBox::YesRole );
msgBox.addButton( QMessageBox::Cancel );
msgBox.setIcon( QMessageBox::Question );
Expand Down

0 comments on commit 68635d8

Please sign in to comment.