mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-07 01:57:57 +02:00
Packager: Package-Editor, disable move-up/down buttons for hieratical view. See Issues #41282 and #41283
(cherry picked from commit 239b75609b
)
This commit is contained in:
parent
b449aa9c82
commit
f246115506
@ -2486,7 +2486,7 @@ begin
|
||||
|
||||
// move up/down (only single selection)
|
||||
aVisible := (FilterEdit.Filter='')
|
||||
and (not (SortAlphabetically or SingleSelectedRemoved))
|
||||
and (not (SortAlphabetically or ShowDirectoryHierarchy or SingleSelectedRemoved))
|
||||
and ((SingleSelectedFile<>nil) or (SingleSelectedDep<>nil));
|
||||
MoveUpBtn.Enabled :=aVisible and Assigned(SingleSelectedNode.GetPrevVisibleSibling);
|
||||
MoveDownBtn.Enabled:=aVisible and Assigned(SingleSelectedNode.GetNextVisibleSibling);
|
||||
|
Loading…
Reference in New Issue
Block a user