From 34cb113aac75c7914abe502b7b21755a267f35be Mon Sep 17 00:00:00 2001 From: Fernando <2480661+fernandreu@users.noreply.github.com> Date: Tue, 13 Aug 2019 18:46:23 +0100 Subject: [PATCH] Fix ContextMenu actions [ #52 ] --- OfficeRibbonXEditor/Views/MainWindow.xaml | 40 +++++++++++++---------- SharedAssemblyInfo.cs | 2 +- 2 files changed, 24 insertions(+), 18 deletions(-) diff --git a/OfficeRibbonXEditor/Views/MainWindow.xaml b/OfficeRibbonXEditor/Views/MainWindow.xaml index a023651d..57dafcaf 100644 --- a/OfficeRibbonXEditor/Views/MainWindow.xaml +++ b/OfficeRibbonXEditor/Views/MainWindow.xaml @@ -395,14 +395,16 @@ - + - + + Command="{Binding InsertXml14Command}" + IsEnabled="{Binding CanInsertXml14Part}"> + Command="{Binding InsertXml12Command}" + IsEnabled="{Binding CanInsertXml12Part}"> - + - - + + @@ -435,32 +437,36 @@ - + - - + + - + - + - - - + + + diff --git a/SharedAssemblyInfo.cs b/SharedAssemblyInfo.cs index 3114e68b..183e6b43 100644 --- a/SharedAssemblyInfo.cs +++ b/SharedAssemblyInfo.cs @@ -19,4 +19,4 @@ // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: -[assembly: AssemblyVersion("1.5.0.*")] +[assembly: AssemblyVersion("1.5.1.*")]