From 2d9e9d6029fda8cb9537c7f5c0ed11131afa7a86 Mon Sep 17 00:00:00 2001 From: Hugo Pereira Da Costa Date: Fri, 22 Feb 2013 17:39:56 +0100 Subject: [PATCH] Fixed disabling/enabling decoration animations in non-advance mode CCBUG: 313795 --- clients/oxygen/config/oxygenconfigwidget.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/clients/oxygen/config/oxygenconfigwidget.cpp b/clients/oxygen/config/oxygenconfigwidget.cpp index 0fd5ec1901..71b1088624 100644 --- a/clients/oxygen/config/oxygenconfigwidget.cpp +++ b/clients/oxygen/config/oxygenconfigwidget.cpp @@ -137,8 +137,9 @@ namespace Oxygen setChanged( false ); - if( _expertMode ) - { _animationConfigWidget->save(); } + if( _expertMode ) _animationConfigWidget->save(); + else _configuration->setAnimationsEnabled( ui.animationsEnabled->isChecked() ); + }