fix close lookup

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1032 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
alexs75 2009-12-05 06:48:21 +00:00
parent 792b30e2a1
commit 7ed85a3234

View File

@ -1006,10 +1006,11 @@ begin
FRxPopUpForm:=ShowRxDBPopUpForm(Self, FLookupDataLink.DataSet, @OnClosePopup,
FPopUpFormOptions, FLookupDisplay, LookupDisplayIndex, 0 {ButtonWidth}, Font);
{$IFDEF LINUX}
TempF:=FRxPopUpForm;
if FRxPopUpForm.ShowModal = mrOk then
OnClosePopup(true);
TempF.Free;
TempF:=FRxPopUpForm;
if FRxPopUpForm.ShowModal = mrOk then
OnClosePopup(true);
TempF.Free;
FRxPopUpForm:=nil
{$ENDIF}
end
end;