Browse Source

Merge pull request #93 from bkkcoins/export-history-default

Add default filename for export history
283
ThomasV 12 years ago
parent
commit
aec2a3abab
  1. 2
      lib/gui_lite.py

2
lib/gui_lite.py

@ -88,7 +88,7 @@ def load_theme_paths():
def csv_transaction(wallet):
try:
fileName = QFileDialog.getSaveFileName(QWidget(), 'Select file to export your wallet transactions to', os.path.expanduser('~/'), "*.csv")
fileName = QFileDialog.getSaveFileName(QWidget(), 'Select file to export your wallet transactions to', os.path.expanduser('~/electrum-history.csv'), "*.csv")
if fileName:
with open(fileName, "w+") as csvfile:
transaction = csv.writer(csvfile)

Loading…
Cancel
Save