2024-02-06 Fred Gleason <fredg@paravelsystems.com>

* Fixed a regression in rdairplay(1) that could cause the space bar
	to fail to start the next main log event.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason
2024-02-06 16:30:20 -05:00
parent 5895a7ca58
commit f76691bae2
9 changed files with 70 additions and 13 deletions

View File

@@ -27,12 +27,22 @@ VoiceTracker::VoiceTracker(QWidget *parent)
: RDWidget(parent)
{
d_tracker_widget=new RDTrackerWidget(&d_import_path,this);
if(rda->airplayConf()->barAction()==RDAirPlayConf::StartNext) {
d_tracker_widget->setFocusPolicy(Qt::NoFocus);
}
else {
d_tracker_widget->setFocusPolicy(Qt::StrongFocus);
}
d_load_button=new QPushButton(tr("Load\nLog"),this);
d_load_button->setFont(bigButtonFont());
d_load_button->setFocusPolicy(Qt::NoFocus);
connect(d_load_button,SIGNAL(clicked()),this,SLOT(loadData()));
connect(d_tracker_widget,SIGNAL(activeChanged(bool)),
d_load_button,SLOT(setDisabled(bool)));
setFocusPolicy(Qt::NoFocus);
}