Comment 1 for bug 738264

Revision history for this message
Marek BardoĊ„ski (bdfhjk) wrote :

I blocked accidentaly edit/remove not necessary command in my branch

Reason of bug:

controller.py:
193: row_int = int(view.ROW[0][0])

and
remove.py
293: row_int = int(view.ROW[0][0]) #convert pathlist into something usable

in this line program assigned to this variable number of row in filtered view. But in

remove.py
298: del cheatlines[row_int]

program deleted line in not filtered order, by index of filtered view row

My proposition for fix:
- if we have filtered view, firstly search in CHEATSHEET corresponding row_int in non-filtered view