Skip to content

Commit 9c49b9e

Browse files
author
wonder
committed
Update legend item's tooltip (useful when SQL subset has changed)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6921 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 045e4d7 commit 9c49b9e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/app/legend/qgslegendlayer.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,8 @@ void QgsLegendLayer::updateLayerSymbologySettings(const QgsMapLayer* mapLayer)
215215
(*it)->copySymbologySettings(*mapLayer);
216216
}
217217
}
218+
// source might have changed - e.g. other subset
219+
setToolTip(0, mapLayer->publicSource());
218220
}
219221
}
220222

0 commit comments

Comments
 (0)