If you are not resident then nothing has changed. Your estate will be dealt with in accordance with uk law. The problem is for residents who have children. If the will doesn´t state that the estate is to be administered according to uk law then the Ley de Herederos Forzosos applies as follows -
The law of compulsory heirs (ley de herederos forzosos) in Spain ensures that the surviving spouse is automatically entitled to all assets that were acquired before the marriage took place, half of the assets that were acquired during the marriage and any personal gifts and inheritances made directly to them. If the deceased has children the rest of the estate is divided into three sections. One third is left to the children. No matter how many of them there are, this third is divided equally between them. Another third is also destined for the children, but the benefactor is able to determine how this is divided. The property passed on in this third cannot be disposed of until after the surviving spouse has died. The final third of the estate can be passed to anybody. If there are no children then surviving parents of the deceased are entitled to that particular share of the estate.