mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 04:37:54 +02:00
ide: package editor: fixed crash #40424
(cherry picked from commit d04f10985e
)
This commit is contained in:
parent
ba985a533e
commit
baf1a6ad31
@ -813,8 +813,11 @@ begin
|
||||
SetItem(PkgEditMenuCleanDependencies, @CleanDependenciesMenuItemClick,
|
||||
Assigned(LazPackage.FirstRequiredDependency), Writable);
|
||||
end;
|
||||
PkgEditMenuOpenFile.MenuItem.Caption := OpenItemCapt;
|
||||
PkgEditMenuOpenFile.MenuItem.Enabled := OpenItemEnable;
|
||||
if PkgEditMenuOpenFile.MenuItem<>nil then
|
||||
begin
|
||||
PkgEditMenuOpenFile.MenuItem.Caption := OpenItemCapt;
|
||||
PkgEditMenuOpenFile.MenuItem.Enabled := OpenItemEnable;
|
||||
end;
|
||||
finally
|
||||
//PackageEditorMenuRoot.EndUpdate;
|
||||
SingleSelectedFile := Nil;
|
||||
|
Loading…
Reference in New Issue
Block a user