mirror of https://github.com/PCSX2/pcsx2.git
[skip ci] gsdumpgui: Auto select gsdx dll and gs dump when a directory location is reloaded/changed.
First on list only. Feature to save selection isn't available for now.
This commit is contained in:
parent
877a112193
commit
fbafd44209
|
@ -186,6 +186,9 @@ namespace GSDumpGUI
|
||||||
Settings.GSDXDir = fbd.SelectedPath;
|
Settings.GSDXDir = fbd.SelectedPath;
|
||||||
Settings.Save();
|
Settings.Save();
|
||||||
ReloadGsdxDlls();
|
ReloadGsdxDlls();
|
||||||
|
|
||||||
|
// Auto select GSdx dll
|
||||||
|
_availableGsDlls.Selected = _availableGsDlls.Files.FirstOrDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void cmdBrowseDumps_Click(object sender, EventArgs e)
|
private void cmdBrowseDumps_Click(object sender, EventArgs e)
|
||||||
|
@ -197,6 +200,9 @@ namespace GSDumpGUI
|
||||||
Settings.DumpDir = fbd.SelectedPath;
|
Settings.DumpDir = fbd.SelectedPath;
|
||||||
Settings.Save();
|
Settings.Save();
|
||||||
ReloadGsdxDumps();
|
ReloadGsdxDumps();
|
||||||
|
|
||||||
|
// Auto select GS dump
|
||||||
|
_availableGsDumps.Selected = _availableGsDumps.Files.FirstOrDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void cmdRun_Click(object sender, EventArgs e)
|
private void cmdRun_Click(object sender, EventArgs e)
|
||||||
|
@ -376,12 +382,18 @@ namespace GSDumpGUI
|
||||||
{
|
{
|
||||||
Settings.Save();
|
Settings.Save();
|
||||||
ReloadGsdxDlls();
|
ReloadGsdxDlls();
|
||||||
|
|
||||||
|
// Auto select GSdx dll
|
||||||
|
_availableGsDlls.Selected = _availableGsDlls.Files.FirstOrDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void txtDumpsDirectory_Leave(object sender, EventArgs e)
|
private void txtDumpsDirectory_Leave(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
Settings.Save();
|
Settings.Save();
|
||||||
ReloadGsdxDumps();
|
ReloadGsdxDumps();
|
||||||
|
|
||||||
|
// Auto select GS dump
|
||||||
|
_availableGsDumps.Selected = _availableGsDumps.Files.FirstOrDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
private void lstProcesses_SelectedIndexChanged(object sender, EventArgs e)
|
private void lstProcesses_SelectedIndexChanged(object sender, EventArgs e)
|
||||||
|
|
Loading…
Reference in New Issue