Donate Share

ObjectListView

Tracker: Bugs

5 Problem in canceling a cell edit - ID: 2131098
Last Update: Settings changed ( grammarian )

During implementation of an app using OLV, I noticed that, when I cancelled
an edit with ESC, I got a message "NameError: global name 'rowModel' is not
defined" on line 2137 of ObjectListView.py (this is in 1.2).

I was able to fix it (at least stop the error message) by copying the line
"rowModel = self.GetObjectAt(rowIndex)" from FinishCellEdit into
CancelCellEdit. I don't know if this is a proper or general solution,
though.


Dwig ( dwig ) - 2008-09-26 22:00

5

Closed

Fixed

Phillip Piper

Logic

Python 1.2

Public


Comment ( 1 )

Date: 2008-10-27 07:06
Sender: grammarianProject Admin & DonorAccepting Donations

Thanks for this report. I've fixed this bug and will release it in the next
version. I'll also make the fix available in the SVN


Attached File

No Files Currently Attached

Changes ( 6 )

Field Old Value Date By
artifact_group_id None 2008-11-18 22:30 grammarian
status_id Open 2008-11-18 22:30 grammarian
close_date - 2008-11-18 22:30 grammarian
resolution_id None 2008-10-27 07:06 grammarian
category_id None 2008-10-27 07:05 grammarian
assigned_to nobody 2008-10-27 07:01 grammarian