Browse Source

Fixed command debug window close button

CPKreuz 2 years ago
parent
commit
e55ee388dc
1 changed files with 4 additions and 2 deletions
  1. 4 2
      src/PixiEditor/Views/Dialogs/CommandDebugPopup.xaml

+ 4 - 2
src/PixiEditor/Views/Dialogs/CommandDebugPopup.xaml

@@ -12,7 +12,7 @@
         mc:Ignorable="d"
         mc:Ignorable="d"
         x:Name="uc"
         x:Name="uc"
         Foreground="White"
         Foreground="White"
-        Title="CommandDebugPopup" Height="450" Width="800">
+        Title="Command Debug" Height="450" Width="800">
 
 
     <WindowChrome.WindowChrome>
     <WindowChrome.WindowChrome>
         <WindowChrome CaptionHeight="32" GlassFrameThickness="0.1"
         <WindowChrome CaptionHeight="32" GlassFrameThickness="0.1"
@@ -24,7 +24,9 @@
             <behaviours:ClearFocusOnClickBehavior />
             <behaviours:ClearFocusOnClickBehavior />
         </b:Interaction.Behaviors>
         </b:Interaction.Behaviors>
 
 
-        <local:DialogTitleBar DockPanel.Dock="Top" />
+        <local:DialogTitleBar DockPanel.Dock="Top"
+                              CloseCommand="{x:Static SystemCommands.CloseWindowCommand}"
+                              TitleText="Command Debug" />
 
 
         <Grid>
         <Grid>
             <Grid.RowDefinitions>
             <Grid.RowDefinitions>