mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-16 21:09:30 +02:00
IDE, UseUnitsDlg: fix an error caused by r34101 #d757beaf6d. Issue #20965
git-svn-id: trunk@34435 -
This commit is contained in:
parent
8cb950f27a
commit
984936784e
@ -180,8 +180,7 @@ procedure TUseUnitDialog.AllUnitsCheckBoxChange(Sender: TObject);
|
||||
var
|
||||
i: Integer;
|
||||
begin
|
||||
if not (Assigned(FMainUsedUnits) and Assigned(FImplUsedUnits)
|
||||
and Assigned(FOtherUnits)) then Exit;
|
||||
if not (Assigned(FMainUsedUnits) and Assigned(FImplUsedUnits)) then Exit;
|
||||
if AllUnitsCheckBox.Checked then begin // Add other units
|
||||
CreateOtherUnitsList;
|
||||
FilterEdit.Data.AddStrings(FOtherUnits);
|
||||
|
Loading…
Reference in New Issue
Block a user