Skip to content
Permalink
Browse files

Don't override all cursors in bad layer handler dialog

  • Loading branch information
github-actions authored and nirvn committed Mar 17, 2020
1 parent 7f079a8 commit edb7c29b6e7aa6bcd6d068b9181d5cf00ebf5b0f
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgshandlebadlayers.cpp
@@ -44,7 +44,8 @@

void QgsHandleBadLayersHandler::handleBadLayers( const QList<QDomNode> &layers )
{
QApplication::setOverrideCursor( Qt::ArrowCursor );
QgsTemporaryCursorRestoreOverride cursorOverride;

QgsHandleBadLayers *dialog = new QgsHandleBadLayers( layers );

dialog->buttonBox->button( QDialogButtonBox::Ignore )->setToolTip( tr( "Import all unavailable layers unmodified (you can fix them later)." ) );
@@ -70,7 +71,6 @@ void QgsHandleBadLayersHandler::handleBadLayers( const QList<QDomNode> &layers )
}

delete dialog;
QApplication::restoreOverrideCursor();
}

QgsHandleBadLayers::QgsHandleBadLayers( const QList<QDomNode> &layers )

0 comments on commit edb7c29

Please sign in to comment.
You can’t perform that action at this time.