In Install/Uninstall package dlg, do not enable "Save and rebuild" and "Save

and exit" buttons when filtering.

(cherry picked from commit c609605cfa)
This commit is contained in:
Juha 2023-09-12 10:11:38 +03:00 committed by Maxim Ganetsky
parent 9cce2cfda4
commit 370d32b588

View File

@ -775,7 +775,7 @@ begin
Dependency:=Dependency.NextRequiresDependency;
inc(Cnt);
end;
if InstallTreeView.Items.TopLvlCount<>Cnt then
if InstalledFilterEdit.GetExistingBranch(nil).Items.Count<>Cnt then
ListChanged:=true;
SaveAndExitButton.Enabled:=ListChanged;
SaveAndRebuildButton.Enabled:=ListChanged;