Skip to content

Commit

Permalink
Fix handling of cursor override
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Apr 14, 2020
1 parent 0558d64 commit 190907b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gui/qgsmessageviewer.cpp
Expand Up @@ -66,9 +66,8 @@ void QgsMessageViewer::showMessage( bool blocking )
{
if ( blocking )
{
QApplication::setOverrideCursor( Qt::ArrowCursor );
QgsTemporaryCursorRestoreOverride override;
exec();
QApplication::restoreOverrideCursor();
}
else
{
Expand Down

0 comments on commit 190907b

Please sign in to comment.