Skip to content

Commit

Permalink
Update query.py
Browse files Browse the repository at this point in the history
  • Loading branch information
finalion authored May 2, 2017
1 parent d4e1502 commit 95d3b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wquery/query.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def query_from_browser(browser):


def query_from_editor_all_fields(editor):
if not editor:
if not editor or not editor.note:
return
work_manager.reset_query_counts()
update_progress_label.kwargs = defaultdict(str)
Expand Down

0 comments on commit 95d3b2c

Please sign in to comment.