You've already forked lazarus-ccr
fpspreadsheet: Fix SpreadsheetInspector not displaying cell properties and values any more.
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@5316 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@@ -3071,13 +3071,7 @@ begin
|
|||||||
if sheet <> nil then begin
|
if sheet <> nil then begin
|
||||||
FCurrRow := sheet.ActiveCellRow;
|
FCurrRow := sheet.ActiveCellRow;
|
||||||
FCurrCol := sheet.ActiveCellCol;
|
FCurrCol := sheet.ActiveCellCol;
|
||||||
{
|
cell := sheet.FindCell(FCurrRow, FCurrCol);
|
||||||
cell := sheet.FindCell(sheet.ActiveCellRow, sheet.ActiveCellCol);
|
|
||||||
if cell <> nil then begin
|
|
||||||
FCurrRow := cell^.Row;
|
|
||||||
FCurrCol := cell^.Col;
|
|
||||||
end;
|
|
||||||
}
|
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
@@ -3133,7 +3127,6 @@ end;
|
|||||||
procedure TsSpreadsheetInspector.ListenerNotification(
|
procedure TsSpreadsheetInspector.ListenerNotification(
|
||||||
AChangedItems: TsNotificationItems; AData: Pointer = nil);
|
AChangedItems: TsNotificationItems; AData: Pointer = nil);
|
||||||
begin
|
begin
|
||||||
// Unused(AData);
|
|
||||||
case FMode of
|
case FMode of
|
||||||
imWorkbook:
|
imWorkbook:
|
||||||
if ([lniWorkbook, lniWorksheet]*AChangedItems <> []) then
|
if ([lniWorkbook, lniWorksheet]*AChangedItems <> []) then
|
||||||
|
Reference in New Issue
Block a user