diff --git a/src/app/qgisapp.cpp b/src/app/qgisapp.cpp index dc5d298f6b9a..458ab415fe7a 100644 --- a/src/app/qgisapp.cpp +++ b/src/app/qgisapp.cpp @@ -2509,6 +2509,12 @@ bool QgisApp::askUserForZipItemLayers( QString path ) } } + if ( childItems.isEmpty() ) + { + // return true so dialog doesn't popup again (#6225) - hopefully this doesn't create other trouble + ok = true; + } + // add childItems foreach ( QgsDataItem* item, childItems ) {