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:
parent
792b30e2a1
commit
7ed85a3234
@ -1006,10 +1006,11 @@ begin
|
|||||||
FRxPopUpForm:=ShowRxDBPopUpForm(Self, FLookupDataLink.DataSet, @OnClosePopup,
|
FRxPopUpForm:=ShowRxDBPopUpForm(Self, FLookupDataLink.DataSet, @OnClosePopup,
|
||||||
FPopUpFormOptions, FLookupDisplay, LookupDisplayIndex, 0 {ButtonWidth}, Font);
|
FPopUpFormOptions, FLookupDisplay, LookupDisplayIndex, 0 {ButtonWidth}, Font);
|
||||||
{$IFDEF LINUX}
|
{$IFDEF LINUX}
|
||||||
TempF:=FRxPopUpForm;
|
TempF:=FRxPopUpForm;
|
||||||
if FRxPopUpForm.ShowModal = mrOk then
|
if FRxPopUpForm.ShowModal = mrOk then
|
||||||
OnClosePopup(true);
|
OnClosePopup(true);
|
||||||
TempF.Free;
|
TempF.Free;
|
||||||
|
FRxPopUpForm:=nil
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
end
|
end
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user