diff --git a/riabdock.py b/riabdock.py
index <HASH>..<HASH> 100644
--- a/riabdock.py
+++ b/riabdock.py
@@ -107,7 +107,7 @@ def setVectorStyle(qgisVectorLayer, style):
                             "color_border": myColourString})
             mySymbol.changeSymbolLayer(0, mySymbolLayer)
         elif myGeometryType == QGis.Polygon:
-            myMetadata = myRegistry.symbolLayerMetadata("SimplePolygon")
+            myMetadata = myRegistry.symbolLayerMetadata("SimpleFill")
             mySymbolLayer = myMetadata.createSymbolLayer({
                             "color_border": myColourString})
             mySymbol.changeSymbolLayer(0, mySymbolLayer)
Bug fix for polygon fills not getting the correct symbol type