add default filename for export history
authorbkkcoins <chrissavery@gmail.com>
Fri, 11 Jan 2013 04:57:49 +0000 (11:57 +0700)
committerbkkcoins <chrissavery@gmail.com>
Fri, 11 Jan 2013 04:57:49 +0000 (11:57 +0700)
lib/gui_lite.py

index 80a1816..b6dce87 100644 (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)