[aurorae] Fix visibility of Context Help button
Summary: providesContextHelp is a property of DecoratedClient, not Decoration. BUG: 413145 FIXED-IN: 5.17.1 Reviewers: #kwin, davidedmundson Reviewed By: #kwin, davidedmundson Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D24851icc-effect-5.17.5
parent
6789573d88
commit
982fefd389
|
@ -206,7 +206,7 @@ DecorationButton {
|
|||
}
|
||||
}
|
||||
Component.onCompleted: {
|
||||
if (buttonType == DecorationOptions.DecorationButtonQuickHelp && !decoration.providesContextHelp) {
|
||||
if (buttonType == DecorationOptions.DecorationButtonQuickHelp && !decoration.client.providesContextHelp) {
|
||||
visible = false;
|
||||
} else {
|
||||
visible = buttonSvg.imagePath != "";
|
||||
|
|
Loading…
Reference in New Issue