fix(StatusModal): expose `header.editable` property

Fixes #452
This commit is contained in:
Pascal Precht 2021-10-20 09:28:19 +02:00 committed by Michał Cieślak
parent cec89ef605
commit b85ccbfc23
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ QtObject {
property int titleElide: Text.ElideRight
property int subTitleElide: Text.ElideRight
property bool headerImageEditable: false
property bool editable: false
property Component popupMenu
property StatusImageSettings image: StatusImageSettings {
width: 40

View File

@ -56,6 +56,7 @@ QC.Popup {
icon: header.icon
popupMenu: header.popupMenu
headerImageEditable: header.headerImageEditable
editable: header.editable
onEditButtonClicked: statusModal.editButtonClicked()
onHeaderImageClicked: statusModal.headerImageClicked()