From a4bb46aa545b49c71a986fd1c60f6046e381008d Mon Sep 17 00:00:00 2001 From: Arnaud Bienner Date: Sun, 17 Feb 2013 19:02:07 +0100 Subject: [PATCH] Also disable opacity label + don't reset opacity/blur values --- src/ui/appearancesettingspage.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/ui/appearancesettingspage.cpp b/src/ui/appearancesettingspage.cpp index 1e54ee32f..866a843e8 100644 --- a/src/ui/appearancesettingspage.cpp +++ b/src/ui/appearancesettingspage.cpp @@ -303,14 +303,9 @@ void AppearanceSettingsPage::DisableBlurAndOpacitySliders(bool checked) { ui_->blur_slider->setDisabled(checked); ui_->background_blur_radius_label->setDisabled(checked); ui_->select_background_blur_label->setDisabled(checked); - if (checked) { - ui_->blur_slider->setValue(PlaylistView::kDefaultBlurRadius); - } // Opacity slider ui_->opacity_slider->setDisabled(checked); ui_->background_opacity_label->setDisabled(checked); - if (checked) { - ui_->opacity_slider->setValue(PlaylistView::kDefaultOpacityLevel); - } + ui_->select_opacity_level_label->setDisabled(checked); }