Changeset 3688:7e69a153e783 in orange


Ignore:
Timestamp:
05/24/07 00:45:15 (7 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
acc69b1b93b9b2c8dd6e6ecfbb044e6d381cdb81
Message:
  • fixed bugs introduced when patching the widget for MacOS
File:
1 edited

Legend:

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

    r3566 r3688  
    7575#        dlg.exec_loop() 
    7676 
    77         filename = str(dlg.selectedFile()) 
     77        filename = str(dlg) 
    7878        if not filename or not os.path.split(filename)[1]: 
    7979            return 
     
    8181        ext = lower(os.path.splitext(filename)[1]) 
    8282        if not self.savers.has_key(ext): 
    83             filt_ext = self.re_filterExtension.search(str(dlg.selectedFilter())).group("ext") 
    84             if filt_ext == ".*": 
    85                 filt_ext = ".tab" 
     83            filt_ext = ".tab" 
    8684            filename += filt_ext 
    8785             
Note: See TracChangeset for help on using the changeset viewer.