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

List:       kde-commits
Subject:    [kalgebra] mobile/plugins/widgets/qtcontrols: There should only be numbers on real input
From:       Aleix Pol <null () kde ! org>
Date:       2018-08-30 0:02:04
Message-ID: E1fvAPU-0003yB-Kd () code ! kde ! org
[Download RAW message or body]

Git commit cd5cedc2035a762d5055546279534c06fbe21049 by Aleix Pol.
Committed on 29/08/2018 at 23:32.
Pushed by apol into branch 'master'.

There should only be numbers on real input

M  +1    -0    mobile/plugins/widgets/qtcontrols/RealInput.qml

https://commits.kde.org/kalgebra/cd5cedc2035a762d5055546279534c06fbe21049

diff --git a/mobile/plugins/widgets/qtcontrols/RealInput.qml b/mobile/plugi=
ns/widgets/qtcontrols/RealInput.qml
index 8cd2cb7..83c570a 100644
--- a/mobile/plugins/widgets/qtcontrols/RealInput.qml
+++ b/mobile/plugins/widgets/qtcontrols/RealInput.qml
@@ -7,4 +7,5 @@ TextField
 =

     readonly property real realValue: Number.fromLocaleString(locale, text)
     validator: DoubleValidator {}
+    inputMethodHints: Qt.ImhPreferNumbers
 }

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

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