[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kalgebra] mobile/plugins/widgets/material: Make the SimpleListView delegate non-interactive
From:       Aleix Pol <aleixpol () kde ! org>
Date:       2015-10-31 23:46:38
Message-ID: E1Zsfr4-00071f-N9 () scm ! kde ! org
[Download RAW message or body]

Git commit 0b73a66b174c8f6099463cca2384c49a2eea997a by Aleix Pol.
Committed on 31/10/2015 at 23:42.
Pushed by apol into branch 'master'.

Make the SimpleListView delegate non-interactive

M  +4    -1    mobile/plugins/widgets/material/SimpleListView.qml

http://commits.kde.org/kalgebra/0b73a66b174c8f6099463cca2384c49a2eea997a

diff --git a/mobile/plugins/widgets/material/SimpleListView.qml b/mobile/pl=
ugins/widgets/material/SimpleListView.qml
index 8c4bb03..5205501 100644
--- a/mobile/plugins/widgets/material/SimpleListView.qml
+++ b/mobile/plugins/widgets/material/SimpleListView.qml
@@ -11,7 +11,10 @@ ListView
     header: ListItem.Subheader {
         text: ListView.view.title
     }
-    delegate: ListItem.Standard { text: model[role] }
+    delegate: ListItem.Standard {
+        text: model[role]
+        interactive: false
+    }
 =

     Scrollbar {
         flickableItem: viewItem
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic