Skip to content
Permalink
Browse files

Fixes #17466: DB Manager does not refresh correctly map in layer preview

  • Loading branch information
slarosa committed Nov 14, 2017
1 parent d839840 commit 5d8963a4a82436bfc4305625eefa1ba302eb4e9c
Showing with 2 additions and 1 deletion.
  1. +2 −1 python/plugins/db_manager/layer_preview.py
@@ -34,7 +34,7 @@
class LayerPreview(QgsMapCanvas):

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

@@ -131,3 +131,4 @@ def _loadTablePreview(self, table, limit=False):
self.currentLayer = vl

self.freeze(False)
super().refresh()

0 comments on commit 5d8963a

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