mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-08 00:02:35 -05:00
Fix error message when double-cliking the 'empty project' action on the welcome screen
This commit is contained in:
parent
9ab1b3e1ed
commit
5c751c44e9
@ -138,7 +138,8 @@ void QgsWelcomePage::templateProjectItemActivated( const QModelIndex &index )
|
||||
{
|
||||
if ( index.data( QgsProjectListItemDelegate::NativePathRole ).isNull() )
|
||||
QgisApp::instance()->newProject();
|
||||
QgisApp::instance()->fileNewFromTemplate( index.data( QgsProjectListItemDelegate::NativePathRole ).toString() );
|
||||
else
|
||||
QgisApp::instance()->fileNewFromTemplate( index.data( QgsProjectListItemDelegate::NativePathRole ).toString() );
|
||||
}
|
||||
|
||||
void QgsWelcomePage::versionInfoReceived()
|
||||
|
Loading…
x
Reference in New Issue
Block a user