Skip to content
Browse files

[ux] Auto dismiss message bar items when a link is clicked in the item

At this stage the user has already read and acted upon the notification,
so requiring them to explicity dismiss the notification is an
annoying extra action.
  • Loading branch information
nyalldawson committed Oct 24, 2018
1 parent 124f738 commit d67982415a7077f7ec135568a269e159155777a0
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/gui/qgsmessagebaritem.cpp
@@ -284,4 +284,5 @@ void QgsMessageBarItem::urlClicked( const QUrl &url )
QgsGui::instance()->nativePlatformInterface()->openFileExplorerAndSelectFile( url.toLocalFile() );
QDesktopServices::openUrl( url );

0 comments on commit d679824

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