Skip to content

Commit 2e60b46

Browse files
authored
Merge pull request #32 from neimex23/legacy
AutoSplitterCore 2.0 Support
2 parents 0ddbb15 + d5cd468 commit 2e60b46

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

Sources/Form1.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -305,6 +305,18 @@ private void comboBoxGame_SelectedIndexChanged(object sender, EventArgs e)
305305
//Ask Selected index
306306
EnableSplitting.Invoke(AutoSplitterInstance, new object[] { comboBoxGame.SelectedIndex });
307307
}
308+
309+
//To update when change Profile
310+
public void SetComboBoxGameIndex(int index)
311+
{
312+
if (index <= comboBoxGame.Items.Count)
313+
comboBoxGame.SelectedIndex = index;
314+
}
315+
316+
public void SetPractice(bool status)
317+
{
318+
PracticeModeCheck.Checked = status;
319+
}
308320
#endregion
309321

310322
}

0 commit comments

Comments
 (0)