[Plastik Decoration] Show application menu button if client has one
CCBUG: 375862 CHANGELOG: Plastik window decoration now supports global menu Differential Revision: https://phabricator.kde.org/D5131
This commit is contained in:
parent
ffbb25497c
commit
3e0ddba683
1 changed files with 1 additions and 2 deletions
|
@ -144,8 +144,7 @@ DecorationButton {
|
|||
visible = Qt.binding(function() { return decoration.client.providesContextHelp});
|
||||
}
|
||||
if (buttonType == DecorationOptions.DecorationButtonApplicationMenu) {
|
||||
// visible = decoration.appMenu;
|
||||
visible = false;
|
||||
visible = Qt.binding(function() { return decoration.client.hasApplicationMenu; });
|
||||
}
|
||||
}
|
||||
onHoveredChanged: colorize()
|
||||
|
|
Loading…
Reference in a new issue