Add option to disable playing widget

This commit is contained in:
Jonas Kvinge
2019-03-09 17:20:07 +01:00
parent 3e658845d2
commit c0fb35f6b9
6 changed files with 27 additions and 4 deletions

View File

@@ -156,6 +156,10 @@ void PlayingWidget::SetApplication(Application *app, AlbumCoverChoiceController
}
void PlayingWidget::SetEnabled(bool enabled) {
if (enabled) SetEnabled();
else SetDisabled();
}
void PlayingWidget::SetEnabled() {
enabled_ = true;