Skip to content

Commit

Permalink
Don't override all cursors in bad layer handler dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored and nirvn committed Mar 18, 2020
1 parent c0d4c69 commit 424dc67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/qgshandlebadlayers.cpp
Expand Up @@ -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)." ) );
Expand All @@ -66,7 +67,6 @@ void QgsHandleBadLayersHandler::handleBadLayers( const QList<QDomNode> &layers )
}

delete dialog;
QApplication::restoreOverrideCursor();
}


Expand Down

0 comments on commit 424dc67

Please sign in to comment.