|
@@ -147,7 +147,7 @@ namespace Terminal.Gui {
|
|
///<inheritdoc/>
|
|
///<inheritdoc/>
|
|
public override bool MouseEvent (MouseEvent me)
|
|
public override bool MouseEvent (MouseEvent me)
|
|
{
|
|
{
|
|
- if (!me.Flags.HasFlag (MouseFlags.Button1Clicked))
|
|
|
|
|
|
+ if (!me.Flags.HasFlag (MouseFlags.Button1Clicked) || !CanFocus)
|
|
return false;
|
|
return false;
|
|
|
|
|
|
SuperView.SetFocus (this);
|
|
SuperView.SetFocus (this);
|