Skip to content

Commit

Permalink
[dbmanager] defines correctly super class
Browse files Browse the repository at this point in the history
  • Loading branch information
slarosa committed Nov 15, 2017
1 parent 5d8963a commit 5a4ace1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/db_manager/layer_preview.py
Expand Up @@ -34,7 +34,7 @@
class LayerPreview(QgsMapCanvas):

def __init__(self, parent=None):
super(QgsMapCanvas, self).__init__(parent)
super(LayerPreview, self).__init__(parent)
self.parent = parent
self.setCanvasColor(QColor(255, 255, 255))

Expand Down

0 comments on commit 5a4ace1

Please sign in to comment.