fix updateChanged() method.
This commit is contained in:
parent
4e7364d9df
commit
9f12ecd91d
1 changed files with 2 additions and 2 deletions
|
@ -119,7 +119,6 @@ namespace Oxygen
|
||||||
|
|
||||||
else if( ui->ui.separatorMode->currentIndex() != configuration.separatorMode() ) modified = true;
|
else if( ui->ui.separatorMode->currentIndex() != configuration.separatorMode() ) modified = true;
|
||||||
else if( ui->ui.titleOutline->isChecked() != configuration.drawTitleOutline() ) modified = true;
|
else if( ui->ui.titleOutline->isChecked() != configuration.drawTitleOutline() ) modified = true;
|
||||||
else if( ui->ui.animationsEnabled->isChecked() != configuration.animationsEnabled() ) modified = true;
|
|
||||||
else if( ui->ui.narrowButtonSpacing->isChecked() != configuration.useNarrowButtonSpacing() ) modified = true;
|
else if( ui->ui.narrowButtonSpacing->isChecked() != configuration.useNarrowButtonSpacing() ) modified = true;
|
||||||
|
|
||||||
// shadow configurations
|
// shadow configurations
|
||||||
|
@ -132,7 +131,8 @@ namespace Oxygen
|
||||||
else if( exceptionListChanged() ) modified = true;
|
else if( exceptionListChanged() ) modified = true;
|
||||||
|
|
||||||
// animations
|
// animations
|
||||||
else if( ui->animationConfigWidget()->isChanged() ) modified = true;
|
else if( !ui->expertMode() && ui->ui.animationsEnabled->isChecked() != configuration.animationsEnabled() ) modified = true;
|
||||||
|
else if( ui->expertMode() && ui->animationConfigWidget()->isChanged() ) modified = true;
|
||||||
|
|
||||||
// emit relevant signals
|
// emit relevant signals
|
||||||
if( modified ) emit changed();
|
if( modified ) emit changed();
|
||||||
|
|
Loading…
Reference in a new issue