mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Fix bug (our first patch from the net) with redraw of cell when the title was clicked to select it and the pane was read-only (like History). (rev sdagley, appr don)
This commit is contained in:
parent
e47da051dc
commit
3eb9b70afc
@ -807,8 +807,10 @@ void
|
||||
CStandardFlexTable::DoInlineEditing ( const STableCell &inCell, Rect & inTextRect )
|
||||
{
|
||||
mRowBeingEdited = inCell.row;
|
||||
if ( !CanDoInlineEditing() ) // bail if inline editing is temporarily turned off
|
||||
if ( !CanDoInlineEditing() ) { // bail if inline editing is temporarily turned off
|
||||
mRowBeingEdited = LArray::index_Bad;
|
||||
return;
|
||||
}
|
||||
|
||||
#if 0
|
||||
// erase the text rectangle so that when the text field shrinks, you won't see the old name
|
||||
|
Loading…
Reference in New Issue
Block a user