Added sticky presets and URLS between config and main page
This commit is contained in:
@@ -76,9 +76,15 @@ namespace Test_Merge
|
||||
if (settingsForm.GrandPrixUrl != "" && settingsForm.SelectedConfigFile != "")
|
||||
{
|
||||
GpUrl = settingsForm.GrandPrixUrl;
|
||||
tbxGpUrl.Text = GpUrl;
|
||||
if (File.Exists(settingsForm.SelectedConfigFile))
|
||||
{
|
||||
ConfigFile = settingsForm.SelectedConfigFile;
|
||||
for(int i = 0; i < lsbPresets.Items.Count; i++)
|
||||
{
|
||||
if (lsbPresets.Items[i].ToString() == ConfigFile)
|
||||
lsbPresets.SelectedIndex = i;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user