Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ public static class DecompilerVersionInfo
{
public const string Major = "10";
public const string Minor = "0";
public const string Build = "0";
public const string Build = "1";
public const string Revision = "$INSERTREVISION$";
public const string VersionName = null;

Expand Down
4 changes: 2 additions & 2 deletions ILSpy/Metadata/MetadataTableTreeNode.wpf.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ protected void ScrollRowIntoView(DataGrid view, int row)
{
View_Loaded(view, new System.Windows.RoutedEventArgs());
}
if (view.Items.Count > row && row >= 0)
view.Dispatcher.BeginInvoke(() => view.SelectItem(view.Items[row]), DispatcherPriority.Background);
if (row > 0 && view.Items.Count >= row)
view.Dispatcher.BeginInvoke(() => view.SelectItem(view.Items[row - 1]), DispatcherPriority.Background);
}

private void View_Loaded(object sender, System.Windows.RoutedEventArgs e)
Expand Down
Loading