Ignore:
Timestamp:
06/06/12 17:38:01 (12 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
default
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Fixed the handling of filenames acquired via file choosers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/checklist.py

    r184 r233  
    185185        numSelected = 0
    186186        for path in fileChooser.get_filenames():
     187            path = text2unicode(path)
    187188            numSelected += 1
    188189            if os.path.isfile(path): numFiles += 1
     
    193194        """Called when the Add button is clicked."""
    194195        for path in self._fileChooser.get_filenames():
     196            path = text2unicode(path)
    195197            self._fileListModel.append([os.path.basename(path),
    196198                                        path])
Note: See TracChangeset for help on using the changeset viewer.