Skip to content

Commit

Permalink
[ListViewItemWithAction] add showNext property
Browse files Browse the repository at this point in the history
  • Loading branch information
neochapay committed Apr 2, 2017
1 parent 84b417a commit 70fa970
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/controls/ListViewItemWithActions.qml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ Item {
property string icon: ""
property string page: ""

property bool showNext: true

property alias actions: actionsLoader.sourceComponent

signal clicked
Expand Down Expand Up @@ -77,7 +79,7 @@ Item {
sourceSize.height: height

source: (icon != "") ? icon : "images/listview-icon-template-s.svg"
//visible: (icon != "")
fillMode: Image.PreserveAspectFit
}

Rectangle{
Expand Down Expand Up @@ -168,7 +170,7 @@ Item {
sourceSize.height: height

source: "images/listview-icon-arrow.svg"
//visible: (page != "")
visible: showNext
}

MouseArea {
Expand Down

0 comments on commit 70fa970

Please sign in to comment.