Improve error message for `IToolFormAutoConfig` ext. tool missing menu
This commit is contained in:
parent
480ce3b925
commit
4956bae3a2
|
@ -314,7 +314,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
|
|
||||||
if (dest == null)
|
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;
|
int idx = dest.Count;
|
||||||
|
|
Loading…
Reference in New Issue