public static void DeleteCommand(int index) { if (activeProfile == null) { Log.Warning("Tried to delete command without open profile"); return; } SetChanged(); activeProfile.DeleteCommand(index); }
public static void DeleteCommand(int index) { if (currentProfile == null) { Log.Warning("Tried to delete command without open profile"); return; } unsavedChanges = true; currentProfile.DeleteCommand(index); }