mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
Geometry: Fix move up method.
This commit is contained in:
1 parent
ba7171326c
commit
a6341dedd2
2 files changed
+4
-5
No files matched your search
@@ -243,7 +243,7 @@ class Reach(SQLSubModel):
|
||||
self.modified()
|
||||
|
||||
def move_up_profile(self, index: int):
|
||||
if index < len(self.profiles):
|
||||
if index < len(self._profiles):
|
||||
next = index - 1
|
||||
|
||||
p = self._profiles
|
||||
|
||||
Reference in new issue
Block a user