Skip to content

Commit 6e48f22

Browse files
author
g_j_m
committed
Fix for bug in ticket #230 (zoom to all doesn't work when a layer has
changed it's extent, e.g., by changing the where clause on a postgres layer). git-svn-id: http://svn.osgeo.org/qgis/trunk@5679 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent e132f37 commit 6e48f22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/gui/qgsmaplayerset.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class QgsMapLayerSet
3333
int layerCount() { return mLayerSet.size(); }
3434

3535
//! returns current extent of layer set
36-
QgsRect fullExtent() { return mFullExtent; }
36+
QgsRect fullExtent() { updateFullExtent(); return mFullExtent; }
3737

3838
//! change current layer set
3939
void setLayerSet(const std::deque<QString>& layers);

0 commit comments

Comments
 (0)