Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
exit fillTree() if no log entries
  • Loading branch information
nicogodet authored and github-actions[bot] committed Jun 27, 2021
1 parent 0a45e7f commit a101397
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/plugins/processing/gui/HistoryDialog.py
Expand Up @@ -134,6 +134,10 @@ def contextDateString(self, date):
def fillTree(self):
self.tree.clear()
entries = ProcessingLog.getLogEntries()

if not entries:
return

names = {}
icons = {}
group_items = []
Expand Down

0 comments on commit a101397

Please sign in to comment.