diff --git a/SourceGenWPF/WpfGui/MainWindow.xaml b/SourceGenWPF/WpfGui/MainWindow.xaml
index 9effcee..96f3f22 100644
--- a/SourceGenWPF/WpfGui/MainWindow.xaml
+++ b/SourceGenWPF/WpfGui/MainWindow.xaml
@@ -54,7 +54,8 @@ limitations under the License.
-
+
+
@@ -102,8 +103,10 @@ limitations under the License.
CanExecute="IsProjectOpen" Executed="CloseCmd_Executed"/>
-
+
+
-
+
-
+
diff --git a/SourceGenWPF/WpfGui/MainWindow.xaml.cs b/SourceGenWPF/WpfGui/MainWindow.xaml.cs
index abc8c2c..431cc86 100644
--- a/SourceGenWPF/WpfGui/MainWindow.xaml.cs
+++ b/SourceGenWPF/WpfGui/MainWindow.xaml.cs
@@ -754,10 +754,14 @@ namespace SourceGenWPF.WpfGui {
mMainCtrl.EditAddress();
}
- private void EditStatusFlags_Executed(object sender, ExecutedRoutedEventArgs e) {
+ private void EditStatusFlagsCmd_Executed(object sender, ExecutedRoutedEventArgs e) {
mMainCtrl.EditStatusFlags();
}
+ private void ExitCmd_Executed(object sender, ExecutedRoutedEventArgs e) {
+ Close();
+ }
+
private void HelpCmd_Executed(object sender, ExecutedRoutedEventArgs e) {
mMainCtrl.ShowHelp();
}