Changeset 3566:38d92dbb63d0 in orange


Ignore:
Timestamp:
04/20/07 11:06:01 (7 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
845206fca14269cd3f62289fbc9dc7d267a51f14
Message:
  • changed QFileDialog to QFileDialog.getSaveFileName
File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/OrangeWidgets/Data/OWSave.py

    r3563 r3566  
    6868            startfile = self.recentFiles[0] 
    6969        else: 
    70             if sys.platform == "darwin": 
    71                 startfile = user.home 
    72             else: 
    73                 startfile = "." 
     70            startfile = user.home 
    7471 
    75         dlg = QFileDialog(startfile, 
     72        dlg = QFileDialog.getSaveFileName(startfile, 
    7673                          'Tab-delimited files (*.tab)\nHeaderless tab-delimited (*.txt)\nComma separated (*.csv)\nC4.5 files (*.data)\nRetis files (*.rda *.rdo)\nAll files(*.*)', #\nAssistant files (*.dat) 
    77                           None, "Orange Data File", True) 
    78         dlg.exec_loop() 
     74                          None, "Orange Data File") 
     75#        dlg.exec_loop() 
    7976 
    8077        filename = str(dlg.selectedFile()) 
Note: See TracChangeset for help on using the changeset viewer.