diff --git a/Tutorial/GacUI_Controls/TextEditor/UI/MainWindow.xml b/Tutorial/GacUI_Controls/TextEditor/UI/MainWindow.xml index f715e848..5609f3b3 100644 --- a/Tutorial/GacUI_Controls/TextEditor/UI/MainWindow.xml +++ b/Tutorial/GacUI_Controls/TextEditor/UI/MainWindow.xml @@ -56,11 +56,11 @@ - textBox.observe as _(_.CanUndo() on _.SelectionChanged) + textBox.observe as _(_.CanUndo() on _.UndoRedoChanged) commandEditUndo_Executed - textBox.observe as _(_.CanRedo() on _.SelectionChanged) + textBox.observe as _(_.CanRedo() on _.UndoRedoChanged) commandEditRedo_Executed