Skip to content
Permalink
Browse files

[dbmanager] fix DeprecationWarning

  • Loading branch information
slarosa committed Jun 7, 2016
1 parent a03e28b commit a8cf02ad8d56e58e0ffcb65c764d537fb042d019
Showing with 1 addition and 1 deletion.
  1. +1 −1 python/plugins/db_manager/layer_preview.py
@@ -46,7 +46,7 @@ def __init__(self, parent=None):
self.enableAntiAliasing(settings.value("/qgis/enable_anti_aliasing", False, type=bool))
action = settings.value("/qgis/wheel_action", 0, type=float)
zoomFactor = settings.value("/qgis/zoom_factor", 2, type=float)
self.setWheelAction(QgsMapCanvas.WheelAction(action), zoomFactor)
self.setWheelFactor(zoomFactor)

def refresh(self):
self.setDirty(True)

0 comments on commit a8cf02a

Please sign in to comment.
You can’t perform that action at this time.