* src/ScratchPad.py: fix removal of invalid objects (bug #291)
* src/PageView.py: fix search argument when filter applied (but #317) svn: r7159
This commit is contained in:
@@ -746,7 +746,7 @@ class ScratchPadListView:
|
||||
|
||||
if model:
|
||||
for o in model:
|
||||
if not o.is_valid():
|
||||
if not o[1].is_valid():
|
||||
model.remove(o)
|
||||
|
||||
# Method to manage the wrapper classes.
|
||||
|
Reference in New Issue
Block a user