Multidisk Bundler - add logic to properly restart when the Rom changes
This commit is contained in:
parent
227084c2dd
commit
1c51d5b012
|
@ -27,8 +27,11 @@ namespace BizHawk.Client.EmuHawk
|
|||
InitializeComponent();
|
||||
}
|
||||
|
||||
private void MultiGameCreator_Load(object sender, EventArgs e)
|
||||
private void MultiGameCreator_Load(object sender, EventArgs e) => Restart();
|
||||
|
||||
public void Restart()
|
||||
{
|
||||
FileSelectorPanel.Controls.Clear();
|
||||
AddButton_Click(null, null);
|
||||
AddButton_Click(null, null);
|
||||
|
||||
|
@ -58,13 +61,10 @@ namespace BizHawk.Client.EmuHawk
|
|||
}
|
||||
|
||||
FileSelectors.First().Path = MainForm.CurrentlyOpenRom;
|
||||
Recalculate();
|
||||
}
|
||||
}
|
||||
|
||||
public void Restart()
|
||||
{
|
||||
}
|
||||
|
||||
private void CancelBtn_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult = DialogResult.Cancel;
|
||||
|
@ -117,9 +117,7 @@ namespace BizHawk.Client.EmuHawk
|
|||
mdf.NameChanged += FileSelector_NameChanged;
|
||||
mdf.SystemString = SystemDropDown.SelectedText;
|
||||
|
||||
|
||||
groupBox.Controls.Add(mdf);
|
||||
|
||||
FileSelectorPanel.Controls.Add(groupBox);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue