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

List:       kde-commits
Subject:    KDE/kdepim/mobile/lib
From:       Artur Duque de Souza <asouza () kde ! org>
Date:       2010-09-30 21:31:38
Message-ID: 20100930213138.E8318AC891 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1181393 by asouza:

Default value to "value" property so we can select "0"

There was this bug that we could not select the "0" value at first
because it was being initialized with "0" and thus it was not emitting
a valueChanged() signal.


 M  +1 -1      VerticalSelector.qml  


--- trunk/KDE/kdepim/mobile/lib/VerticalSelector.qml #1181392:1181393
@@ -27,7 +27,7 @@
 
     property alias model: list.model
     property alias currentIndex: list.currentIndex
-    property int value
+    property int value: -1
     signal selected()
 
     onValueChanged: {
[prev in list] [next in list] [prev in thread] [next in thread] 

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