fix bugs from aa1de1c9d2
that made tool windows undesignable
This commit is contained in:
parent
e840a32ccc
commit
daf6f516c6
|
@ -24,7 +24,7 @@ namespace BizHawk.Client.EmuHawk
|
||||||
protected virtual string WindowTitle => WindowTitleStatic;
|
protected virtual string WindowTitle => WindowTitleStatic;
|
||||||
|
|
||||||
/// <remarks>To enforce the "static title" semantics for implementations, this getter will be called once and cached.</remarks>
|
/// <remarks>To enforce the "static title" semantics for implementations, this getter will be called once and cached.</remarks>
|
||||||
protected virtual string WindowTitleStatic => throw new NotImplementedException("you have to implement this; the Designer prevents this from being an abstract method");
|
protected virtual string WindowTitleStatic => GetType().Name;
|
||||||
|
|
||||||
protected override void OnLoad(EventArgs e)
|
protected override void OnLoad(EventArgs e)
|
||||||
{
|
{
|
||||||
|
|
|
@ -9,7 +9,7 @@ using BizHawk.Emulation.Common;
|
||||||
|
|
||||||
namespace BizHawk.Client.EmuHawk
|
namespace BizHawk.Client.EmuHawk
|
||||||
{
|
{
|
||||||
public abstract class ToolFormBase : FormBase
|
public class ToolFormBase : FormBase
|
||||||
{
|
{
|
||||||
public ToolManager Tools { get; set; }
|
public ToolManager Tools { get; set; }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue