Ensures the event SelectedChanged gets fired if the lastSelectedItem == -1.

This commit is contained in:
BDisp
2020-07-05 14:22:24 +01:00
parent 82f95504ce
commit 8582017b13

View File

@@ -529,6 +529,17 @@ namespace Terminal.Gui {
return true;
}
///<inheritdoc/>
public override bool OnEnter (View view)
{
if (lastSelectedItem == -1) {
OnSelectedChanged ();
return true;
}
return false;
}
///<inheritdoc/>
public override void PositionCursor ()
{