Steps to reproduce:
1. Right-click a sample within an instrument and choose "Replace by...".
2. Double-click another sample in the list.
Result: the sample is not replaced.
Expected result: the sample should be replaced.
This bug happens either with double-clicking or pressing "enter" on the keyboard. If instead you click "Ok" with the mouse, then the sample will be correctly replaced. This bug also affects the "Replace by..." option on presets.