Skip to content

Commit

Permalink
Merge pull request #64 from celeron533/bugfix/crash_when_double_click…
Browse files Browse the repository at this point in the history
…_match_count

[bugfix] crash when double clicking the match count column
  • Loading branch information
celeron533 authored Feb 12, 2024
2 parents 4e91dfb + 9fe4ecd commit 2a9ceb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DicomGrep/MainWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
<RowDefinition Height="Auto"/>
<RowDefinition Height="*" MinHeight="30"/>
</Grid.RowDefinitions>
<DataGrid ItemsSource="{Binding MatchFileList}" AutoGenerateColumns="False" SelectedItem="{Binding SelectedMatchFile, Mode=Default}" SelectionMode="Single">
<DataGrid ItemsSource="{Binding MatchFileList}" AutoGenerateColumns="False" SelectedItem="{Binding SelectedMatchFile, Mode=Default}" SelectionMode="Single" IsReadOnly="True">
<DataGrid.Columns>
<DataGridTextColumn Header="File" Binding="{Binding Filename, Mode=OneWay}"/>
<DataGridTextColumn Header="Patient" Binding="{Binding PatientName, Mode=OneWay}"/>
Expand Down Expand Up @@ -162,7 +162,7 @@
</DataGrid.ContextMenu>
</DataGrid>
<GridSplitter Grid.Row="1" Height="5" HorizontalAlignment="Stretch"/>
<DataGrid Grid.Row="2" AutoGenerateColumns="False" ItemsSource="{Binding SelectedMatchFile.ResultDicomItems}" SelectionMode="Single" >
<DataGrid Grid.Row="2" AutoGenerateColumns="False" ItemsSource="{Binding SelectedMatchFile.ResultDicomItems}" SelectionMode="Single" IsReadOnly="True" >
<DataGrid.Columns>
<DataGridTextColumn Header="Tag" Binding="{Binding Tag, Mode=OneWay}"/>
<DataGridTextColumn Header="Name" Binding="{Binding Tag.DictionaryEntry.Name, Mode=OneWay}"/>
Expand Down

0 comments on commit 2a9ceb8

Please sign in to comment.