(NextItemExec): scroll selection into view.

This commit is contained in:
morkt 2016-02-15 02:39:29 +04:00
parent 8856639058
commit 34b70e869e

View File

@ -1170,7 +1170,10 @@ namespace GARbro.GUI
var index = CurrentDirectory.SelectedIndex + 1; var index = CurrentDirectory.SelectedIndex + 1;
if (index < CurrentDirectory.Items.Count) if (index < CurrentDirectory.Items.Count)
{
CurrentDirectory.SelectedIndex = index; CurrentDirectory.SelectedIndex = index;
CurrentDirectory.ScrollIntoView (CurrentDirectory.SelectedItem);
}
} }
/// <summary> /// <summary>