public void ForcePAWRefresh() { // Thanks to https://github.com/blowfishpro for finding this API call for me: UIPartActionWindow paw = UIPartActionController.Instance?.GetItem(part, false); if (paw != null) { paw.ClearList(); paw.displayDirty = true; } }
private void UpdatePartActionWindow() { UIPartActionWindow window = UIPartActionController.Instance?.GetItem(module.part, false); if (window is null) { return; } window.ClearList(); window.displayDirty = true; }