From a3d3b41dfb54b39136daf6c9d3e95224bd453673 Mon Sep 17 00:00:00 2001 From: Olivier Keshavjee Date: Fri, 1 Apr 2016 14:08:04 +0200 Subject: [PATCH] Fixes a bug that gives duplicate ID to first item created --- manuskript/models/outlineModel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manuskript/models/outlineModel.py b/manuskript/models/outlineModel.py index ab6dba0b..8e12c3a2 100644 --- a/manuskript/models/outlineModel.py +++ b/manuskript/models/outlineModel.py @@ -424,7 +424,7 @@ class outlineItem(): self._parent = None self._model = model self.defaultTextType = None - self.IDs = [] # used by root item to store unique IDs + self.IDs = ["0"] # used by root item to store unique IDs self._lastPath = "" # used by loadSave version_1 to remember which files the items comes from, # in case it is renamed / removed