Skip to content

Commit

Permalink
Change tooltip for bad layers
Browse files Browse the repository at this point in the history
because the click action is still a TODO
  • Loading branch information
elpaso committed Oct 21, 2018
1 parent 843bee2 commit a83d9c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgslayertreeviewbadlayerindicator.cpp
Expand Up @@ -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 )
Expand Down

0 comments on commit a83d9c9

Please sign in to comment.