[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/D24851
This commit is contained in:
parent
6789573d88
commit
982fefd389
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue