summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/library/autodj/dlgautodj.cpp7
-rw-r--r--src/library/dlganalysis.cpp2
-rw-r--r--src/library/recording/dlgrecording.cpp7
3 files changed, 12 insertions, 4 deletions
diff --git a/src/library/autodj/dlgautodj.cpp b/src/library/autodj/dlgautodj.cpp
index 939f71088b..62a699357c 100644
--- a/src/library/autodj/dlgautodj.cpp
+++ b/src/library/autodj/dlgautodj.cpp
@@ -221,7 +221,10 @@ void DlgAutoDJ::updateSelectionInfo() {
if (!indices.isEmpty()) {
label.append(Time::formatSeconds(duration));
label.append(QString(" (%1)").arg(indices.size()));
+ labelSelectionInfo->setText(label);
+ labelSelectionInfo->setEnabled(true);
+ } else {
+ labelSelectionInfo->setText("");
+ labelSelectionInfo->setEnabled(false);
}
-
- labelSelectionInfo->setText(label);
}
diff --git a/src/library/dlganalysis.cpp b/src/library/dlganalysis.cpp
index 1459665a85..50bfccc7e1 100644
--- a/src/library/dlganalysis.cpp
+++ b/src/library/dlganalysis.cpp
@@ -134,9 +134,11 @@ void DlgAnalysis::analysisActive(bool bActive) {
if (bActive) {
pushButtonAnalyze->setEnabled(true);
pushButtonAnalyze->setText(tr("Stop Analysis"));
+ labelProgress->setEnabled(true);
} else {
pushButtonAnalyze->setText(tr("Analyze"));
labelProgress->setText("");
+ labelProgress->setEnabled(false);
}
}
diff --git a/src/library/recording/dlgrecording.cpp b/src/library/recording/dlgrecording.cpp
index 8a8e77e30a..eb843dc208 100644
--- a/src/library/recording/dlgrecording.cpp
+++ b/src/library/recording/dlgrecording.cpp
@@ -57,7 +57,8 @@ DlgRecording::DlgRecording(QWidget* parent, UserSettingsPointer pConfig,
connect(pushButtonRecording, SIGNAL(toggled(bool)),
this, SLOT(toggleRecording(bool)));
- label->setText(tr("Start recording here ..."));
+ label->setText("");
+ label->setEnabled(false);
}
DlgRecording::~DlgRecording() {
@@ -117,9 +118,11 @@ void DlgRecording::toggleRecording(bool toggle) {
void DlgRecording::slotRecordingEnabled(bool isRecording) {
if (isRecording) {
pushButtonRecording->setText((tr("Stop Recording")));
+ label->setEnabled(true);
} else {
pushButtonRecording->setText((tr("Start Recording")));
- label->setText("Start recording here ...");
+ label->setText("");
+ label->setEnabled(false);
}
//This will update the recorded track table view
m_browseModel.setPath(m_recordingDir);