mirror of
https://github.com/crskycode/GARbro.git
synced 2026-06-06 05:38:48 +08:00
(GUI): restore focus to listview after file operations.
This commit is contained in:
@@ -443,7 +443,7 @@ namespace GARbro.GUI
|
||||
lv_SelectItem (ViewModel.Find (name));
|
||||
}
|
||||
|
||||
private void lv_Focus ()
|
||||
public void ListViewFocus ()
|
||||
{
|
||||
if (CurrentDirectory.SelectedIndex != -1)
|
||||
{
|
||||
@@ -747,7 +747,7 @@ namespace GARbro.GUI
|
||||
try
|
||||
{
|
||||
PushViewModel (GetNewViewModel (path));
|
||||
lv_Focus();
|
||||
ListViewFocus();
|
||||
}
|
||||
catch (Exception X)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user