mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
SL: Propagate profile SL to point and fix SL id cnt.
This commit is contained in:
1 parent
d3edf9e5c3
commit
550d86683d
2 files changed
+8
No files matched your search
@@ -15,10 +15,16 @@ class Point(object):
|
||||
|
||||
@property
|
||||
def sl(self):
|
||||
if self._sl is None:
|
||||
return self._profile.sl
|
||||
|
||||
return self._sl
|
||||
|
||||
@sl.setter
|
||||
def sl(self, sl):
|
||||
if sl == self._profile.sl:
|
||||
self._sl = None
|
||||
|
||||
self._sl = sl
|
||||
|
||||
@property
|
||||
|
||||
Reference in new issue
Block a user