only load ControllerConfig dialog, remove option for old input config
This commit is contained in:
parent
db2b4584f5
commit
49dc9cbfa0
|
@ -412,26 +412,13 @@ namespace BizHawk.MultiClient
|
||||||
|
|
||||||
private void controllersToolStripMenuItem_Click(object sender, EventArgs e)
|
private void controllersToolStripMenuItem_Click(object sender, EventArgs e)
|
||||||
{
|
{
|
||||||
if (true)
|
|
||||||
|
ControllerConfig c = new ControllerConfig();
|
||||||
|
c.ShowDialog();
|
||||||
|
if (c.DialogResult == DialogResult.OK)
|
||||||
{
|
{
|
||||||
ControllerConfig c = new ControllerConfig();
|
InitControls();
|
||||||
c.ShowDialog();
|
SyncControls();
|
||||||
if (c.DialogResult == DialogResult.OK)
|
|
||||||
{
|
|
||||||
InitControls();
|
|
||||||
SyncControls();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
InputConfig i = new InputConfig();
|
|
||||||
i.ShowDialog();
|
|
||||||
//re-initialize controls in case anything was changed
|
|
||||||
if (i.DialogResult == DialogResult.OK)
|
|
||||||
{
|
|
||||||
InitControls();
|
|
||||||
SyncControls();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue