Commit 20b2886e authored by Scott Wheeler's avatar Scott Wheeler

Make it so that the tagger boxes are cleared after you remove the selected

item from the list.

svn path=/trunk/kdemultimedia/juk/; revision=165489
parent 599cc24e
......@@ -381,8 +381,8 @@ void TaggerWidget::updateBoxes() // this needs to be updated to properly work wi
bitrateBox->setText(QString::number(audioData->getBitrate()));
}
else {
lengthBox->setText(QString::null);
bitrateBox->setText(QString::null);
lengthBox->clear();
bitrateBox->clear();
}
commentBox->setText(tag->getComment());
......@@ -390,6 +390,18 @@ void TaggerWidget::updateBoxes() // this needs to be updated to properly work wi
changed = false;
}
}
else {
artistNameBox->lineEdit()->clear();
trackNameBox->clear();
albumNameBox->lineEdit()->clear();
genreBox->setCurrentItem(0);
fileNameBox->clear();
trackSpin->setValue(0);
yearSpin->setValue(0);
lengthBox->clear();
bitrateBox->clear();
commentBox->clear();
}
}
void TaggerWidget::updateCombos()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment