Skip to content

Commit

Permalink
[dbmanager] Fix python error
Browse files Browse the repository at this point in the history
  • Loading branch information
m-kuhn committed Jun 20, 2013
1 parent ea8b9e1 commit 0710de3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/db_manager/layer_preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(self, parent=None):
self.enableAntiAliasing( settings.value( "/qgis/enable_anti_aliasing", False, type=bool ) )
self.useImageToRender( settings.value( "/qgis/use_qimage_to_render", False, type=bool ) )
action = settings.value( "/qgis/wheel_action", 0, type=float )
zoomFactor = settings.value( "/qgis/zoom_factor", 2, type=int )
zoomFactor = settings.value( "/qgis/zoom_factor", 2, type=float )
self.setWheelAction( QgsMapCanvas.WheelAction(action), zoomFactor )

self._clear()
Expand Down

0 comments on commit 0710de3

Please sign in to comment.