[aurorae] Connect PlastikButton to options::colorChanged signal

Fixes incorrect button color. DecorationOptions and PlastikButton are
both connected to decoration.active and the button gets invoked first,
thus the titleBarColor is still for the previous state. This was fun!
icc-effect-5.14.5
Martin Gräßlin 2013-10-07 10:00:26 +02:00
parent dd6598c1ff
commit f8acfbf2a0
1 changed files with 4 additions and 0 deletions

View File

@ -158,4 +158,8 @@ DecorationButton {
}
}
}
Connections {
target: options
onColorsChanged: button.colorize();
}
}