Skip to content
Browse files

db manager: fix setting of contrast enhancement for spatialite rasters (

fixes #12497)
  • Loading branch information
jef-n committed Apr 4, 2015
1 parent ffa2ead commit be12c19e669c954d480a1325c6432985ea74e04c
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/plugins/db_manager/db_plugins/spatialite/
@@ -230,11 +230,11 @@ 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

0 comments on commit be12c19

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