Skip to content

Commit

Permalink
fix multiple instances of missing support for ESC and Enter keys
Browse files Browse the repository at this point in the history
fixes #1976
  • Loading branch information
ErikEJ committed Oct 24, 2023
1 parent 48ceb99 commit 163531b
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/GUI/EFCorePowerTools/Dialogs/CompareOptionsDialog.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@
Command="{Binding OkCommand}"/>
<dw:DialogButton Content="{x:Static locale:SharedLocale.Cancel}"
Margin="8,0,0,0"
IsCancel="True"
Command="{Binding CancelCommand}"/>
</StackPanel>
</Grid>
Expand Down
1 change: 1 addition & 0 deletions src/GUI/EFCorePowerTools/Dialogs/CompareResultDialog.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
</DataGrid>
<dw:DialogButton Content="{x:Static locale:CompareLocale.Close}"
Grid.Row="2"
IsDefault="True"
HorizontalAlignment="Right"
Command="{Binding CloseCommand}"
Margin="0, 12, 0, 0"></dw:DialogButton>
Expand Down
1 change: 0 additions & 1 deletion src/GUI/EFCorePowerTools/Dialogs/EfCoreModelDialog.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,6 @@
</Label>
<dw:DialogButton IsTabStop="False"
Content="{x:Static locale:ReverseEngineerLocale.Advanced}"
IsDefault="True"
Command="{Binding AdvancedCommand}"/>
<dw:DialogButton TabIndex="20"
Content="{x:Static locale:SharedLocale.Ok}"
Expand Down
1 change: 1 addition & 0 deletions src/GUI/EFCorePowerTools/Dialogs/PickConfigDialog.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<dw:DialogButton TabIndex="8"
Style="{StaticResource SourceSelectionButtonStyle}"
Content="{x:Static locale:SharedLocale.Cancel}"
IsCancel="True"
Command="{Binding CancelCommand}"/>
</StackPanel>
</Grid>
Expand Down
1 change: 1 addition & 0 deletions src/GUI/EFCorePowerTools/Dialogs/PickProjectDialog.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<dw:DialogButton TabIndex="8"
Style="{StaticResource SourceSelectionButtonStyle}"
Content="{x:Static locale:SharedLocale.Cancel}"
IsCancel="True"
Command="{Binding CancelCommand}"/>
</StackPanel>
</Grid>
Expand Down
1 change: 1 addition & 0 deletions src/GUI/EFCorePowerTools/Dialogs/PickSchemasDialog.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
<dw:DialogButton TabIndex="5"
Style="{StaticResource SourceSelectionButtonStyle}"
Content="{x:Static locale:SharedLocale.Cancel}"
IsCancel="True"
Command="{Binding CancelCommand}"/>
</StackPanel>
</Grid>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@
<dw:DialogButton TabIndex="8"
Style="{StaticResource SourceSelectionButtonStyle}"
Content="{x:Static locale:SharedLocale.Cancel}"
IsCancel="True"
Command="{Binding CancelCommand}"/>
</StackPanel>
</Grid>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public NorthwindContext(DbContextOptions<NorthwindContext> options)

protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
#warning To protect potentially sensitive information in your connection string, you should move it out of source code. You can avoid scaffolding the connection string by using the Name= syntax to read it from configuration - see https://go.microsoft.com/fwlink/?linkid=2131148. For more guidance on storing connection strings, see http://go.microsoft.com/fwlink/?LinkId=723263.
=> optionsBuilder.UseSqlServer("Data Source=.\\SQLEXPRESS;Initial Catalog=Northwind;Integrated Security=True;Encrypt=False;Trust Server Certificate=True;Command Timeout=300", x => x
=> optionsBuilder.UseSqlServer("Data Source=.\\SQLEXPRESS;Initial Catalog=Northwind;Integrated Security=True;Trust Server Certificate=True;Command Timeout=300", x => x
.UseNetTopologySuite()
.UseHierarchyId());

Expand Down

0 comments on commit 163531b

Please sign in to comment.