newfol: make view in editor button work.

The keystroke for loading the search results in the editor worked, but the
button did not.  Fix this.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
This commit is contained in:
brian m. carlson 2014-01-04 00:03:46 +00:00
parent 544fc064e9
commit 9eafc61bda
No known key found for this signature in database
GPG key ID: BF535D811F52F68B

2
newfol
View file

@ -625,7 +625,7 @@ class SortingTemplateRecordView(RecordView):
elif button.label == "Search":
type_ = "select"
else:
type_ = "select-for-editor"
type_ = "next-secondary"
button.cb_obj.callback(type_, button)
urwid.connect_signal(button, 'click', callback_glue)
def _render_buttons(self):