IdeIntf: Change event handler name to ActMoveUpDownExecute in ActionListEditor.

git-svn-id: trunk@53557 -
This commit is contained in:
juha 2016-12-04 18:42:06 +00:00
parent fc9103bd07
commit b58493f762
2 changed files with 6 additions and 6 deletions

View File

@ -154,13 +154,13 @@ object ActionListEditor: TActionListEditor
end
object ActMoveUp: TAction
Category = 'MoveUpDown'
OnExecute = ActMoveDownExecute
OnExecute = ActMoveUpDownExecute
OnUpdate = ActMoveUpUpdate
ShortCut = 16422
end
object ActMoveDown: TAction
Category = 'MoveUpDown'
OnExecute = ActMoveDownExecute
OnExecute = ActMoveUpDownExecute
OnUpdate = ActMoveDownUpdate
ShortCut = 16424
end
@ -197,12 +197,12 @@ object ActionListEditor: TActionListEditor
object mItemActListMoveUpAction: TMenuItem
Action = ActMoveUp
Caption = 'Move Up'
OnClick = ActMoveDownExecute
OnClick = ActMoveUpDownExecute
end
object mItemActListMoveDownAction: TMenuItem
Action = ActMoveDown
Caption = 'Move Down'
OnClick = ActMoveDownExecute
OnClick = ActMoveUpDownExecute
end
object MenuItem6: TMenuItem
Caption = '-'

View File

@ -112,7 +112,7 @@ type
btnDown: TToolButton;
procedure ActDeleteExecute(Sender: TObject);
procedure ActDeleteUpdate(Sender: TObject);
procedure ActMoveDownExecute(Sender: TObject);
procedure ActMoveUpDownExecute(Sender: TObject);
procedure ActMoveDownUpdate(Sender: TObject);
procedure ActMoveUpUpdate(Sender: TObject);
procedure ActNewExecute(Sender: TObject);
@ -659,7 +659,7 @@ begin
TAction(Sender).Enabled := lstActionName.SelCount > 0;
end;
procedure TActionListEditor.ActMoveDownExecute(Sender: TObject);
procedure TActionListEditor.ActMoveUpDownExecute(Sender: TObject);
var
fact0,fAct1: TContainedAction;
lboxIndex: Integer;