Commit fc154914 authored by Bram Schoenmakers's avatar Bram Schoenmakers

Default to filter expression when no title is given

parent 607a3571
......@@ -49,7 +49,7 @@ class ViewWidget(urwid.LineBox):
@property
def data(self):
return {
'title': self.titleedit.edit_text,
'title': self.titleedit.edit_text or self.filteredit.edit_text,
'sortexpr': self.sortedit.edit_text or config().sort_string(),
'filterexpr': self.filteredit.edit_text,
'show_all': self.allradio.state,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment