Fix sound_file.filelist_row after removing files
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SoundConverter |
Fix Released
|
High
|
GautierPortet |
Bug Description
This is for another traceback when starting conversion after removing files.
Steps to reproduce:
1. Add five files.
2. Select and remove the first four files.
3. Start conversion.
File "/usr/lib/
...
in set_row_progress
if self.model[
IndexError: could not find tree path
The reason is that for each SoundFile, its filelist row number is stored within the SoundFile object as an initial filelist_row value when the file is added. When removing other files this initial row number gets out-of-date:
def set_file_
row = sound_file.
def _append_file(self, sound_file):
Changed in soundconverter: | |
assignee: | nobody → GautierPortet (kassoulet) |
milestone: | none → 2.0.5 |
importance: | Undecided → High |
status: | New → In Progress |
Changed in soundconverter: | |
status: | Fix Committed → Fix Released |
Patch applied.