Fixes #811. Added a check for the subviews.

This commit is contained in:
BDisp
2020-07-19 01:17:15 +01:00
parent 84b8938d3b
commit 22a05ebc1b

View File

@@ -429,8 +429,10 @@ namespace Terminal.Gui {
listview.SetSource (searchset);
listview.Height = CalculatetHeight ();
this.SetFocus (search);
if (Subviews.Count > 0) {
SetFocus (search);
}
}
private void ResetSearchSet (bool noCopy = false)