Changeset 260:e2dd6183fe3d


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

Fixed the problem with the moving of checklist files

File:
1 edited

Legend:

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

    r233 r260  
    220220        (model, paths) = selection.get_selected_rows()
    221221        indexes = [(path.get_indices() if pygobject else path)[0]
    222                    for path in paths]
     222                   for path in paths]       
    223223        indexes.sort()
    224224        if not up:
     
    236236        numRows = model.iter_n_children(None)
    237237        self._moveDownButton.set_sensitive(True if up else
    238                                            indexes[-1]<(numRows-2))
     238                                           indexes[0]<(numRows-2))
    239239
    240240    def _fileListSelectionChanged(self, selection):
Note: See TracChangeset for help on using the changeset viewer.