Project/ProjectBrowserModel.py

changeset 5651
982465f8389c
parent 5599
033967644b1f
child 5968
c5112b5cb7a9
equal deleted inserted replaced
5650:4c52f07c186e 5651:982465f8389c
528 if itm.data(column) == text: 528 if itm.data(column) == text:
529 return itm 529 return itm
530 530
531 return None 531 return None
532 532
533 def addNewItem(self, typeString, name, additionalTypeStrings=[]): 533 def addNewItem(self, typeString, name, additionalTypeStrings=None):
534 """ 534 """
535 Public method to add a new item to the model. 535 Public method to add a new item to the model.
536 536
537 @param typeString string denoting the type of the new item (string) 537 @param typeString string denoting the type of the new item (string)
538 @param name name of the new item (string) 538 @param name name of the new item (string)

eric ide

mercurial