diff --git a/src/plugins/lib/maps/lifewaylayer.py b/src/plugins/lib/maps/lifewaylayer.py index dc189e05f..18c158e53 100644 --- a/src/plugins/lib/maps/lifewaylayer.py +++ b/src/plugins/lib/maps/lifewaylayer.py @@ -93,6 +93,8 @@ class LifeWayLayer(GObject.GObject, osmgpsmap.MapLayer): alpha is the transparence radius is the size of the track. """ + if isinstance(color,str): + color = Gdk.color_parse(color) self.lifeways_ref.append((points, color, radius)) def add_way(self, points, color):