mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-09-01 17:55:20 +00:00
parent
bb5e195494
commit
3be703ac0a
1 changed files with 3 additions and 0 deletions
|
@ -161,6 +161,9 @@ class HistoryList(MyTreeWidget, AcceptFileDragDrop):
|
||||||
|
|
||||||
def show_summary(self):
|
def show_summary(self):
|
||||||
h = self.summary
|
h = self.summary
|
||||||
|
if not h:
|
||||||
|
self.parent.show_message(_("Nothing to summarize."))
|
||||||
|
return
|
||||||
start_date = h.get('start_date')
|
start_date = h.get('start_date')
|
||||||
end_date = h.get('end_date')
|
end_date = h.get('end_date')
|
||||||
format_amount = lambda x: self.parent.format_amount(x.value) + ' ' + self.parent.base_unit()
|
format_amount = lambda x: self.parent.format_amount(x.value) + ' ' + self.parent.base_unit()
|
||||||
|
|
Loading…
Add table
Reference in a new issue