Derp this is IDisposable

This commit is contained in:
YoshiRulz 2021-11-19 05:06:45 +10:00
parent df97ef3dfe
commit 49df817bcd
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 4 additions and 1 deletions

View File

@ -1191,7 +1191,10 @@ namespace BizHawk.Client.EmuHawk
}
private void ColorSettingsMenuItem_Click(object sender, EventArgs e)
=> this.ShowDialogAsChild(new TAStudioColorSettingsForm(Palette, p => Settings.Palette = p));
{
using var colorSettings = new TAStudioColorSettingsForm(Palette, p => Settings.Palette = p);
this.ShowDialogAsChild(colorSettings);
}
private void WheelScrollSpeedMenuItem_Click(object sender, EventArgs e)
{