Fix IDE0200
This commit is contained in:
committed by
Gustas Kažukauskas
parent
ce3ad6fbb3
commit
0338258b45
@@ -48,9 +48,9 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
{
|
||||
var actionManager = world.WorldActor.Trait<EditorActionManager>();
|
||||
undoButton.IsDisabled = () => !actionManager.HasUndos();
|
||||
undoButton.OnClick = () => actionManager.Undo();
|
||||
undoButton.OnClick = actionManager.Undo;
|
||||
redoButton.IsDisabled = () => !actionManager.HasRedos();
|
||||
redoButton.OnClick = () => actionManager.Redo();
|
||||
redoButton.OnClick = actionManager.Redo;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user