Skip to content
Permalink
Browse files

Change tooltip for bad layers

because the click action is still a TODO
  • Loading branch information
elpaso committed Oct 21, 2018
1 parent 843bee2 commit a83d9c94e14d028e2cc86e30f316a5ffd60d8ff6
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/app/qgslayertreeviewbadlayerindicator.cpp
@@ -49,7 +49,8 @@ QString QgsLayerTreeViewBadLayerIndicatorProvider::iconName( QgsMapLayer *layer
QString QgsLayerTreeViewBadLayerIndicatorProvider::tooltipText( QgsMapLayer *layer )
{
Q_UNUSED( layer );
return tr( "<b>Bad layer!</b><br>Layer data source could not be found, click here to set a new data source." );
// TODO, click here to set a new data source.
return tr( "<b>Bad layer!</b><br>Layer data source could not be found." );
}

bool QgsLayerTreeViewBadLayerIndicatorProvider::acceptLayer( QgsMapLayer *layer )

0 comments on commit a83d9c9

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