Skip to content

Commit

Permalink
Release busy cursor before showing message box
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Jan 16, 2019
1 parent a1b44c9 commit 5ce54fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gui/symbology/qgsstylemanagerdialog.cpp
Expand Up @@ -429,6 +429,7 @@ void QgsStyleManagerDialog::copyItemsToDefault()
{
auto cursorOverride = qgis::make_unique< QgsTemporaryCursorOverride >( Qt::WaitCursor );
copyItems( items, mStyle, QgsStyle::defaultStyle(), this, cursorOverride, true, QStringList(), false, false );
cursorOverride.reset();
QMessageBox::information( this, tr( "Import Symbols" ),
tr( "Symbols successfully imported." ) );
}
Expand Down

0 comments on commit 5ce54fd

Please sign in to comment.