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:
pinkerton 1998-04-07 00:00:41 +00:00
parent e47da051dc
commit 3eb9b70afc

View File

@ -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