Skip to content

Commit 68635d8

Browse files
committedMay 27, 2019
Correct enum
1 parent 9e45626 commit 68635d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgswelcomepage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ void QgsWelcomePage::showContextMenuForTemplates( QPoint point )
247247
{
248248
QMessageBox msgBox( this );
249249
msgBox.setWindowTitle( tr( "Delete Template" ) );
250-
msgBox.setText( tr( "Do you want to delete the template %1? This action can not be undone." ).arg( index.data( QgsRecentProjectItemsModel::TitleRole ).toString() ) );
250+
msgBox.setText( tr( "Do you want to delete the template %1? This action can not be undone." ).arg( index.data( QgsProjectListItemDelegate::TitleRole ).toString() ) );
251251
auto deleteButton = msgBox.addButton( tr( "Delete" ), QMessageBox::YesRole );
252252
msgBox.addButton( QMessageBox::Cancel );
253253
msgBox.setIcon( QMessageBox::Question );

0 commit comments

Comments
 (0)
Please sign in to comment.