Skip to content
Permalink
Browse files

Don't override all cursors in bad layer handler dialog

  • Loading branch information
nyalldawson committed Mar 16, 2020
1 parent 57033e9 commit 470365acb066c53adcb39f6eec4e6feaa6ffab72
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 470365a

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