Minor fixes and updates (#1026)
* Make the Tokenizer class an abstract class * Fix error message when opening non-file project items
This commit is contained in:
committed by
GitHub
parent
fbff421de8
commit
6e3262f78e
@@ -183,9 +183,9 @@ class NWItem():
|
||||
|
||||
self.setParent(xItem.attrib.get("parent", None))
|
||||
self.setOrder(xItem.attrib.get("order", 0))
|
||||
self.setType(xItem.attrib.get("type", None))
|
||||
self.setClass(xItem.attrib.get("class", None))
|
||||
self.setLayout(xItem.attrib.get("layout", None))
|
||||
self.setType(xItem.attrib.get("type", nwItemType.NO_TYPE))
|
||||
self.setClass(xItem.attrib.get("class", nwItemClass.NO_CLASS))
|
||||
self.setLayout(xItem.attrib.get("layout", nwItemLayout.NO_LAYOUT))
|
||||
|
||||
for xValue in xItem:
|
||||
if xValue.tag == "meta":
|
||||
|
||||
Reference in New Issue
Block a user