Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 215f7fc

Browse files
authoredJan 22, 2019
Correctly set matrix after defining map settings
1 parent c3fc41e commit 215f7fc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed
 

‎src/quickgui/qgsquickmaptransform.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ void QgsQuickMapTransform::setMapSettings( QgsQuickMapSettings *mapSettings )
4040
if ( mMapSettings )
4141
connect( mMapSettings, &QgsQuickMapSettings::visibleExtentChanged, this, &QgsQuickMapTransform::updateMatrix );
4242

43+
updateMatrix();
44+
4345
emit mapSettingsChanged();
4446
}
4547

0 commit comments

Comments
 (0)
Please sign in to comment.