mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-24 15:59:14 +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)
|
// move up/down (only single selection)
|
||||||
aVisible := (FilterEdit.Filter='')
|
aVisible := (FilterEdit.Filter='')
|
||||||
and (not (SortAlphabetically or SingleSelectedRemoved))
|
and (not (SortAlphabetically or ShowDirectoryHierarchy or SingleSelectedRemoved))
|
||||||
and ((SingleSelectedFile<>nil) or (SingleSelectedDep<>nil));
|
and ((SingleSelectedFile<>nil) or (SingleSelectedDep<>nil));
|
||||||
MoveUpBtn.Enabled :=aVisible and Assigned(SingleSelectedNode.GetPrevVisibleSibling);
|
MoveUpBtn.Enabled :=aVisible and Assigned(SingleSelectedNode.GetPrevVisibleSibling);
|
||||||
MoveDownBtn.Enabled:=aVisible and Assigned(SingleSelectedNode.GetNextVisibleSibling);
|
MoveDownBtn.Enabled:=aVisible and Assigned(SingleSelectedNode.GetNextVisibleSibling);
|
||||||
|
Loading…
Reference in New Issue
Block a user