Scenario to reproduce:
- Open "data/samples/FASTA/human_T1.fa".
- Select whole sequence.
- Call context menu, select
{Edit sequence -> Replace subsequence...}
menu item.
- Replace whole sequence with any inappropriate symbol, e.g. '='. Accept the dialog, agree with message box.
Current state: the sequence is absolutely empty, safe points can trigger and crashes can occur.