diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index af57277a2..60a939b82 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -18,7 +18,8 @@ * src/DisplayState.py (DisplayState.__signals__): Register 'filters-changed' signal. * src/FilterEditor/_ShowResults.py: Change Media to MediaObject. - * src/FilterEditor/_EditRule.py: Change Media to MediaObject. + * src/FilterEditor/_EditRule.py: Change Media to MediaObject; + (__init__): Work with empty filter names (new filter). * src/FilterEditor/_FilterEditor.py (close): Emit 'filters-changed'. * src/Filters/SideBar/*py: Take uistate and connect to the 'filters-changed' signal. diff --git a/gramps2/src/FilterEditor/_EditRule.py b/gramps2/src/FilterEditor/_EditRule.py index 69fa1ca05..0877984e5 100644 --- a/gramps2/src/FilterEditor/_EditRule.py +++ b/gramps2/src/FilterEditor/_EditRule.py @@ -149,7 +149,7 @@ class MyFilters(gtk.ComboBox): self.flist.sort() for fname in self.flist: - if filter_name.strip() and (fname != filter_name): + if fname != filter_name: store.append(row=[fname]) self.set_active(0) self.show()