fpspreadsheet: Fix workbook.ReadFromStream not updating attached WorksheetGrid.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6076 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2017-11-24 16:57:26 +00:00
parent e50534cc35
commit 189ae66d4d

View File

@@ -8396,6 +8396,7 @@ begin
Recalc; Recalc;
FFormatID := AFormatID; FFormatID := AFormatID;
finally finally
FReadWriteFlag := rwfNormal;
dec(FLockCount); dec(FLockCount);
if ok and Assigned(FOnOpenWorkbook) then // ok is true if stream has been read successfully if ok and Assigned(FOnOpenWorkbook) then // ok is true if stream has been read successfully
FOnOpenWorkbook(self); // send common notification FOnOpenWorkbook(self); // send common notification