tvplanit: Fix weekview crashing when inplace editor is closed.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@4690 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2016-06-08 10:02:20 +00:00
parent 81b271c908
commit 10668582ba

View File

@ -1940,8 +1940,7 @@ begin
FAfterEdit(self, ActiveEvent);
DataStore.PostEvents;
end;
wvInPlaceEditor.Free;
wvInPlaceEditor := nil;
FreeAndNil(wvInPlaceEditor);
Invalidate;
// SetFocus;
end;