Merge pull request #812 from BDisp/combobox-setfocus-fix

Fixes #811. Added a check for the subviews.
This commit is contained in:
Charlie Kindel
2020-07-20 07:58:01 -06:00
committed by GitHub

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)