diff --git a/graphs/wrapper.py b/graphs/wrapper.py index 04947f3df..50717d701 100644 --- a/graphs/wrapper.py +++ b/graphs/wrapper.py @@ -94,7 +94,18 @@ class BaseWrapper: class SourceWrapper(BaseWrapper): - pass + + def __init__(self, item): + super().__init__(item) + self._color = None + + @property + def color(self): + return self._color + + @color.setter + def color(self, value): + self._color = value class TargetWrapper(BaseWrapper): diff --git a/gui/builtinViewColumns/color.py b/gui/builtinViewColumns/color.py index e7f112363..1869d2395 100644 --- a/gui/builtinViewColumns/color.py +++ b/gui/builtinViewColumns/color.py @@ -42,7 +42,7 @@ class LineColor(ViewColumn): def getToolTip(self, stuff): if isinstance(stuff, SourceWrapper): - return '' + return 'Change line color' return ''