Skip to content

Commit 7acfedb

Browse files
committed
revert inadvertant commit.
1 parent c0ffaab commit 7acfedb

File tree

2 files changed

+11
-119
lines changed

2 files changed

+11
-119
lines changed

Rubberduck.Core/UI/Inspections/InspectionContextMenuBehavior.cs

Lines changed: 0 additions & 107 deletions
This file was deleted.

Rubberduck.Core/UI/Inspections/InspectionResultsControl.xaml

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -197,15 +197,15 @@
197197
SelectionUnit="FullRow"
198198
ItemsSource="{Binding Results, NotifyOnSourceUpdated=True}"
199199
VirtualizingPanel.IsVirtualizingWhenGrouping="False">
200-
<DataGrid.RowDetailsTemplate>
201-
<DataTemplate>
202-
<Grid>
203-
<Rectangle Fill="Transparent" />
204-
<GridViewRowPresenter/>
205-
</Grid>
200+
<DataGrid.RowDetailsTemplate>
201+
<DataTemplate>
202+
<Grid>
203+
<Rectangle Fill="Transparent" />
204+
<GridViewRowPresenter/>
205+
</Grid>
206206
</DataTemplate>
207-
</DataGrid.RowDetailsTemplate>
208-
<DataGrid.Columns>
207+
</DataGrid.RowDetailsTemplate>
208+
<DataGrid.Columns>
209209
<DataGridTemplateColumn Header="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=CodeInspectionResults_Type}">
210210
<DataGridTemplateColumn.CellTemplate>
211211
<DataTemplate DataType="abstract1:IInspectionResult">
@@ -217,7 +217,7 @@
217217
<DataGridTextColumn Header="{Resx ResxName=Rubberduck.Resources.RubberduckUI, Key=CodeInspectionResults_Location}" Binding="{Binding QualifiedSelection.QualifiedName, Mode=OneTime}" />
218218
</DataGrid.Columns>
219219
<DataGrid.ContextMenu>
220-
<ContextMenu ItemsSource="{Binding PlacementTarget.DataContext.QuickFixes, RelativeSource={RelativeSource Self}}" Visibility="Collapsed">
220+
<ContextMenu ItemsSource="{Binding PlacementTarget.DataContext.QuickFixes, RelativeSource={RelativeSource Self}}">
221221
<ContextMenu.Resources>
222222
<Style TargetType="{x:Type MenuItem}">
223223
<Setter Property="Icon">
@@ -235,7 +235,6 @@
235235
</DataGrid.ContextMenu>
236236
<i:Interaction.Behaviors>
237237
<controls:GroupItemExpandedBehavior ExpandedState="{Binding ExpandedState, Mode=TwoWay}" />
238-
<codeInspections:InspectionContextMenuBehavior />
239238
</i:Interaction.Behaviors>
240239
</controls:GroupingGrid>
241240

@@ -249,7 +248,7 @@
249248
<Border Grid.Row="3" BorderThickness="0,1,0,0" BorderBrush="DimGray">
250249

251250
<StackPanel Orientation="Vertical" MinHeight="48" Background="WhiteSmoke">
252-
251+
253252
<Grid Margin="4" HorizontalAlignment="Stretch">
254253
<Grid.ColumnDefinitions>
255254
<ColumnDefinition Width="25" />
@@ -287,6 +286,6 @@
287286
</WrapPanel>
288287
</StackPanel>
289288
</Border>
290-
289+
291290
</Grid>
292291
</UserControl>

0 commit comments

Comments
 (0)