Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

[SOLVED] IntValidator does not check range correctly after assignment of min/max range from delegate

$
0
0
Solved, the above code was OK ! My test model data was wrong : It had minimum and maximum swapped (min =100, max = -100). Doh! This had the effect that I could edit the existing value (that was out of range) without limits, but after deleting all characters i could not enter anything. Oh well, above code may be useful to someone, it works fine when fed with the correct parameters ;-).

Viewing all articles
Browse latest Browse all 4972

Trending Articles