Skip to content
Browse files
Merge pull request #651 from slarosa/fix_dbmanager
[DB Manager] fix for PostGIS Raster Layer
  • Loading branch information
brushtyler committed Jun 11, 2013
2 parents 8392c93 + 8cd8969 commit 25244e01a9ffb2621e0298b0f8adba02f5d77f48
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/db_manager/db_plugins/postgis/
@@ -292,10 +292,10 @@ def mimeUri(self):
return uri

def toMapLayer(self):
from qgis.core import QgsRasterLayer
from qgis.core import QgsRasterLayer, QgsContrastEnhancement
rl = QgsRasterLayer(self.gdalUri(),
if rl.isValid():
return rl

class PGTableField(TableField):

0 comments on commit 25244e0

Please sign in to comment.