Open bjsi opened 4 years ago
Setting the IControlHtml text property to string.Empty seems to cause a crash. Changing string.Empty to " " stopped the crashing.
public static IControlHtml GetFirstHtmlCtrl() { var ctrlGroup = Svc.SM.UI.ElementWdw.ControlGroup; var htmlCtrl = ctrlGroup?.GetFirstHtmlControl()?.AsHtml(); return htmlCtrl; } ... var htmlCtrl = GetFirstHtmlCtrl(); htmlCtrl.Text = string.Empty;
Description
Setting the IControlHtml text property to string.Empty seems to cause a crash. Changing string.Empty to " " stopped the crashing.
Steps to Reproduce
Environment (fill where applicable)