Ignore:
Timestamp:
03/07/12 20:34:41 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
rebase_source:
e0e81317be7e94777360a2a0373960fc9889a2ac
Message:

Added unicode filename support for save/load widgets.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/OrangeWidgets/Data/OWFile.py

    r9671 r10462  
    1616 
    1717warnings.filterwarnings("error", ".*" , orange.KernelWarning, "OWFile", 11) 
    18  
    1918 
    2019class FileNameContextHandler(ContextHandler): 
     
    200199                startfile = self.recentFiles[0] 
    201200 
    202         filename = str(QFileDialog.getOpenFileName(self, 'Open Orange Data File', startfile, self.dlgFormats)) 
    203  
     201        filename = QFileDialog.getOpenFileName(self, 'Open Orange Data File', startfile, self.dlgFormats) 
     202        filename = unicode(filename) 
     203         
    204204        if filename == "": 
    205205            return 
Note: See TracChangeset for help on using the changeset viewer.