If you have a QWaveComboBox selected to a wave, and an entry above that one in the box is deleted, then selected one becomes the wave below the one that was previously selected. This is because the model's data is updated before calling reset, and so by the time QWaveComboBox.beforeReset is called, the model's data has already changed.
Example:
Before:
Wave1
Wave2 <-- to be deleted
Wave3 <-- selected
Wave4
If you have a QWaveComboBox selected to a wave, and an entry above that one in the box is deleted, then selected one becomes the wave below the one that was previously selected. This is because the model's data is updated before calling reset, and so by the time QWaveComboBox.beforeReset is called, the model's data has already changed.
Example: Before: Wave1 Wave2 <-- to be deleted Wave3 <-- selected Wave4
After: Wave1 Wave3 Wave4 <-- selected