enable_or_disable_preview_button();
QItemSelectionModel *selected = ui->playlist->selectionModel();
- bool any_selected = ui->playlist->hasFocus() && selected->hasSelection();
+ bool any_selected = selected->hasSelection();
ui->playlist_duplicate_btn->setEnabled(any_selected);
ui->playlist_remove_btn->setEnabled(any_selected);
ui->playlist_move_up_btn->setEnabled(