Commit 982fefd3 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii

[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
parent 6789573d
......@@ -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 != "";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment