License Utility: Product renaming doesn't work
Closed this issue · 4 comments
bdrister commented
Right-click on product, choose Rename. No effect.
- Table column is editable in nib
- Text cell is editable in nib
- -[ProductController renameProduct:] is being called, which calls -[NSTableView editColumn:row:withEvent:select:] with what appears to be correct values, but to no effect.
unixo commented
Try to change, in your NIB, the class of the tableview from OAGradientTableView back to NSTableView: it works :-)
The method drawInteriorWithFrame of AQTextFieldCell should take in consideration if the cell is editing its value or simply displaying it
bdrister commented
Thanks, that sounds like a promising lead. I'll take a look at it when I get a chance. (Or if you already have a patch in mind I'd be happy to apply it.)
unixo commented
Try the following:
- in Interface Builder, select the text field cell of the column of the tableview: set AQTextFieldCell as class
- in OAGradientTableView.m comment the unique line in awakeFromNib
Test it and let me know :-)
bdrister commented
Your patch appears to fix the problem, and doesn't appear to have any adverse effects. I've committed it to the trunk. Thanks!