From b3630ceff868af33a0248c9dcf543f77cba7824b Mon Sep 17 00:00:00 2001 From: Zihan Chen Date: Mon, 22 May 2017 22:14:40 -0700 Subject: [PATCH] ... --- Tutorial/GacUI_Controls/TextEditor/UI/MainWindow.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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