Skip to content

Commit

Permalink
Accept or title
Browse files Browse the repository at this point in the history
  • Loading branch information
jmlich committed May 18, 2024
1 parent 4c02de9 commit d759f90
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ui/qml/components/platform.kirigami/ListItemPL.qml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ import "."
Item {
id: root
height: item.height
width: parent !== undefined ? parent.width : undefined
width: parent !== null ? parent.width : undefined

default property alias content: itemData.data
property real contentHeight
Expand Down
6 changes: 3 additions & 3 deletions ui/qml/components/platform.kirigami/PagePL.qml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ Kirigami.ScrollablePage {
enabled: page.canNavigateForward === true
icon.name: page.acceptIconName
visible: !page.hideAcceptButton && (page.isDialog || app.pages.hasAttached(page))
text: "" + (page.isDialog ? app.tr("Accept")
: (app.pages.nextPage() !== undefined ? app.pages.nextPage().title : "")
)
text: "" + (page.isDialog || app.pages.nextPage() == undefined
? app.tr("Accept")
: app.pages.nextPage().title)
onTriggered: {
if (acceptCallback) acceptCallback();
else app.pages.navigateForward();
Expand Down

0 comments on commit d759f90

Please sign in to comment.