mirror of
https://github.com/LBRYFoundation/LBRY-Vault.git
synced 2025-08-31 17:31:36 +00:00
fix #2430
This commit is contained in:
parent
265fd5ad3f
commit
1b29945c6d
1 changed files with 6 additions and 7 deletions
|
@ -2221,15 +2221,14 @@ class ElectrumWindow(QMainWindow, MessageBoxMixin, PrintError):
|
|||
def plot_history_dialog(self):
|
||||
try:
|
||||
from electrum.plot import plot_history
|
||||
except ImportError as e:
|
||||
wallet = self.wallet
|
||||
history = wallet.get_history()
|
||||
if len(history) > 0:
|
||||
plt = plot_history(self.wallet, history)
|
||||
plt.show()
|
||||
except BaseException as e:
|
||||
self.show_error(str(e))
|
||||
return
|
||||
wallet = self.wallet
|
||||
history = wallet.get_history()
|
||||
if len(history) > 0:
|
||||
plt = plot_history(self.wallet, history)
|
||||
plt.show()
|
||||
|
||||
|
||||
def do_export_history(self, wallet, fileName, is_csv):
|
||||
history = wallet.get_history()
|
||||
|
|
Loading…
Add table
Reference in a new issue