mirror of
https://gitlab.com/pamhyr/pamhyr2.git
synced 2026-10-30 03:20:41 +01:00
HS: Fix undo commands.
This commit is contained in:
1 parent
cf4957551f
commit
becc1696cb
3 files changed
+34
-7
No files matched your search
@@ -83,6 +83,9 @@ class PamhyrModelList(SQLSubModel):
|
||||
return self.lst.index(el)
|
||||
|
||||
def get(self, index):
|
||||
if len(self._lst) == 0:
|
||||
return None
|
||||
|
||||
return self.lst[index]
|
||||
|
||||
def set(self, index, new):
|
||||
|
||||
Reference in new issue
Block a user