mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-15 00:02:52 -04:00
[dbmanager] defines correctly super class
This commit is contained in:
parent
5d8963a4a8
commit
5a4ace10e9
@ -34,7 +34,7 @@ from .db_plugins.plugin import Table
|
||||
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))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user