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 c0d4c69 commit 424dc674c4c4f2cd8ef8bdd347df2fb33938829d
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/app/qgshandlebadlayers.cpp
@@ -40,7 +40,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)." ) );
@@ -66,7 +67,6 @@ void QgsHandleBadLayersHandler::handleBadLayers( const QList<QDomNode> &layers )
}

delete dialog;
QApplication::restoreOverrideCursor();
}


0 comments on commit 424dc67

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