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

Add default filename for export history
This commit is contained in:
ThomasV 2013-01-12 11:01:16 -08:00
commit aec2a3abab
1 changed files with 1 additions and 1 deletions

View File

@ -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)