4937: Clipboard - unable to added second source

svn: r18191
This commit is contained in:
Michiel Nauta 2011-09-21 19:13:34 +00:00
parent 7de51cbca9
commit 604fc5ec28

View File

@ -152,7 +152,9 @@ def model_contains(model, data):
# FIXME: too restrictive, birth and death won't both copy # FIXME: too restrictive, birth and death won't both copy
same = ((row[0] == data[0]) and same = ((row[0] == data[0]) and
(row[1]._title == data[1]._title) and (row[1]._title == data[1]._title) and
(row[1]._handle == data[1]._handle)) (row[1]._handle == data[1]._handle) and
(row[3] == data[3]) and
(row[4] == data[4]))
if same: if same:
return True return True
return False return False