mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-05 22:38:03 +02:00
Packager: Package-Editor, disable move-up/down buttons for hieratical view. See Issues #41282 and #41283
This commit is contained in:
parent
43fa8cf71a
commit
239b75609b
@ -2742,7 +2742,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