Fix #635 round 3, BookmarkView: clear the buttons when 'Remove active'

This commit is contained in:
vsonnier 2018-03-24 09:36:06 +01:00
parent 00a864f741
commit a25253e745

View File

@ -814,6 +814,11 @@ void BookmarkView::onBookmarkChoice( wxCommandEvent & /* event */ ) {
void BookmarkView::activeSelection(DemodulatorInstancePtr dsel) {
if (dsel == nullptr) {
hideProps();
clearButtons();
showProps();
showButtons();
refreshLayout();
return;
}