Reset tooltips when dismissing a DropDownButtonWidget.

This commit is contained in:
Paul Chote
2015-08-04 22:10:01 +01:00
parent 710a32d1ce
commit de4fbfd47a

View File

@@ -67,6 +67,8 @@ namespace OpenRA.Mods.Common.Widgets
panelRoot.RemoveChild(fullscreenMask);
panelRoot.RemoveChild(panel);
panel = fullscreenMask = null;
Ui.ResetTooltips();
}
public void AttachPanel(Widget p) { AttachPanel(p, null); }