public static void AllToDefault() { SetToDefault(typeof(Theme)); foreach (var integration in GetIntegrations()) { SetToDefault(integration); } HudLayout.LoadDefaultAndSave(); }
private static void RequiredReset() { Dialog_Alert.Open(Lang.Get("Alert.InvalidLayout")); HudLayout.LoadDefaultAndSave(); }
private void LoadDefaultPreset() { HudLayout.LoadDefaultAndSave(); Dialog_Alert.Open(Lang.Get("Dialog_Config.Tab.Content.Preset.DefaultLoaded")); RefreshEditor(); }