Skip to content
Permalink
Browse files

fix #19933

  • Loading branch information
jef-n committed Feb 23, 2019
1 parent a965231 commit 2b21a979944d3bccb332e3eac0bf6d7059b3573e
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/db_manager/layer_preview.py
@@ -126,10 +126,10 @@ def _loadTablePreview(self, table, limit=False):
self.setLayers([vl])
QgsProject.instance().addMapLayers([vl], False)
self.zoomToFullExtent()
self.currentLayerId = vl.id()
else:
self.setLayers([])

self.currentLayerId = vl.id()
self.currentLayerId = None

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

0 comments on commit 2b21a97

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