Skip to content

Commit 3366197

Browse files
author
rblazek
committed
added legend()
git-svn-id: http://svn.osgeo.org/qgis/trunk@5112 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent b25458f commit 3366197

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/gui/qgisapp.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,8 @@ public slots:
298298
void select();
299299
//! refresh map canvas
300300
void refreshMapCanvas();
301+
//! returns pointer to map legend
302+
QgsLegend *legend() { return mMapLegend; }
301303

302304
public slots:
303305
void showProgress(int theProgress, int theTotalSteps);

0 commit comments

Comments
 (0)