Clear context when no active song

This commit is contained in:
Craig Drummond
2015-07-17 23:42:50 +01:00
parent 90a37d4cfa
commit baf1e4e5c3
2 changed files with 4 additions and 1 deletions

View File

@@ -578,7 +578,9 @@ void ContextWidget::updateImage(QImage img, bool created)
if (img.isNull() && oldBackdrop.isNull()) {
return;
}
if (!img.isNull()) {
if (img.isNull()) {
currentImage=img;
} else {
if (backdropOpacity<100) {
img=TreeView::setOpacity(img, (backdropOpacity*1.0)/100.0);
}