Improve error message for `IToolFormAutoConfig` ext. tool missing menu

This commit is contained in:
YoshiRulz 2022-07-22 02:02:01 +10:00
parent 480ce3b925
commit 4956bae3a2
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
1 changed files with 1 additions and 1 deletions

View File

@ -314,7 +314,7 @@ namespace BizHawk.Client.EmuHawk
if (dest == null)
{
throw new InvalidOperationException($"{nameof(IToolFormAutoConfig)} must have menu to bind to!");
throw new InvalidOperationException($"{nameof(IToolFormAutoConfig)} must have menu to bind to! (need {nameof(Form.MainMenuStrip)} or other {nameof(MenuStrip)} w/ menu labelled \"Settings\")");
}
int idx = dest.Count;