* src/plugins/FilterEditor.py: handle unicode characters
* src/PeopleStore.py: handle corrupt iter svn: r2663
This commit is contained in:
parent
8e5923dc58
commit
6e798635d7
@ -196,6 +196,7 @@ class PeopleStore:
|
|||||||
self.model.clear()
|
self.model.clear()
|
||||||
|
|
||||||
def remove(self,iter):
|
def remove(self,iter):
|
||||||
|
try:
|
||||||
iter_parent = self.model.iter_parent (iter)
|
iter_parent = self.model.iter_parent (iter)
|
||||||
self.model.remove(iter)
|
self.model.remove(iter)
|
||||||
if iter_parent and not self.model.iter_has_child (iter_parent):
|
if iter_parent and not self.model.iter_has_child (iter_parent):
|
||||||
@ -208,6 +209,8 @@ class PeopleStore:
|
|||||||
if self.tree_list.has_key(name):
|
if self.tree_list.has_key(name):
|
||||||
del self.tree_list[name]
|
del self.tree_list[name]
|
||||||
self.count = self.count - 1
|
self.count = self.count - 1
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
def get_row(self,iter):
|
def get_row(self,iter):
|
||||||
row = self.model.get_path(iter)
|
row = self.model.get_path(iter)
|
||||||
|
Loading…
Reference in New Issue
Block a user