<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Sorry, you understand my problem totally wrong.<br>
<br>
<div class="moz-cite-prefix">20.03.2015 16:55, Luis Manuel Ramos Da
Costa пишет:<br>
</div>
<blockquote
cite="mid:CAOH-rF_SS8Hu_TQrpP4328yAOX3ps=bH2dG+GUpeShAu-ThSfw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>I don't know if this can help, but Javascript and QML work
in separate process, and because of this any variable change
on JS to be read in QML (or vice-versa) should be readed using
a onXXXChanged (XXX bein the variable name).<br>
<br>
</div>
I had a similar problem with reading values from a JSON object,
where the QML was returning -1 from a variable where the value
number, 100 for example, was already lodaded.<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">2015-03-19 12:50 GMT+00:00 Andrey
Kozhevnikov <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:coderusinbox@gmail.com" target="_blank">coderusinbox@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">Hello!<br>
<br>
Can someone help me to understand why this simple code
working bad: <a moz-do-not-send="true"
href="https://gist.github.com/CODeRUS/3911cfe69ab9866e99da"
target="_blank">https://gist.github.com/CODeRUS/3911cfe69ab9866e99da</a><br>
Just click on "Add" button and compare input and result id
inside Object. It's different.<br>
<br>
Best regards,<br>
Andrey<br>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a
moz-do-not-send="true"
href="mailto:devel-unsubscribe@lists.sailfishos.org"
target="_blank">devel-unsubscribe@lists.sailfishos.org</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to <a class="moz-txt-link-abbreviated" href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></pre>
</blockquote>
<br>
</body>
</html>