mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-06-14 00:44:34 +12:00
Fixed issue #865 by adjusting the available IDs in an items constructor
Signed-off-by: TheJackiMonster <thejackimonster@gmail.com>
This commit is contained in:
parent
77eee852de
commit
d56c2225a3
|
@ -51,6 +51,8 @@ class abstractItem():
|
||||||
if ID:
|
if ID:
|
||||||
self._data[self.enum.ID] = ID
|
self._data[self.enum.ID] = ID
|
||||||
|
|
||||||
|
if self._model:
|
||||||
|
self._model.updateAvailableIDs(ID)
|
||||||
|
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
Loading…
Reference in a new issue