list index out of range when editing
Bug #802303 reported by
David Caro
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CLI Companion |
Fix Released
|
Low
|
Unassigned |
Bug Description
When running clicompanion, if you edit the last command, and then move the command somewhere else on the list, if you click edit again (without selecting another command) you get a list index out of range error, just because you are not selecting any rows.
$ clicompanion
using locale in system
Traceback (most recent call last):
File "/usr/local/
row_int_x = int(view.ROW[0][0])
IndexError: list index out of range
Patch appended, just added a simple if to assure that the view.ROW object is not null (or empty in this case).
Related branches
lp:~dcaro/clicompanion/fix-802303
- David Caro: Approve
-
Diff: 12 lines (+2/-0)1 file modifiedclicompanionlib/controller.py (+2/-0)
Changed in clicompanion: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch checked and have my recommendation.
Ready to merge to trunk.
Thanks!