Hi Bernhard, <br><br><div class="gmail_quote">On Tue, Dec 7, 2010 at 7:56 AM, Bernhard Ströbl <span dir="ltr">&lt;<a href="mailto:Bernhard.Stroebl@jena.de">Bernhard.Stroebl@jena.de</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

I can confirm this behaviour QGIS 1.5/WinXP, data from PostGIS database. </blockquote><div>Did you file a ticket yet?  <br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

My workaround is to have e.g. the QComboBox filled with values and _additionally_ have a QTextLine named the same as the field in my layer table holding the feature&#39;s current value. The QTextLine is not visible to the user but gets changed if the user changes the choice in the QComboBox by Qt&#39;S Signal/Slot mechanism.<br>

</blockquote><div>You&#39;re right, I understand that a developer can use the initFunction and editForm <br>from API to bypass the issue,  but how can  users do the same? <br><br>Thinking like an user,  if I sets the  edit UI from the layer property dialog, the obvious <br>

behaviour is that each combo must be populated and it must show the right value <br>as the lineedit does. <br><br>If the combobox (but also the spinbox) doesn&#39;t show the right value, then it&#39;s a bug.</div><div>Maybe did I start a thread on the wrong ML? Maybe I did.<br>

But I hope we&#39;ll fix it quickly :) <br><br>Let me know if there&#39;s a opened ticket, otherwise I file a new one.<br>Thanks, and best regard.<br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">



all the best<br>
<br>
Bernhard<br>
<br>
Giuseppe Sucameli schrieb:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">
Hi all,<br>
it seems there is a problem with Edit UI dialog.<br>
<br>
I have an .UI which contains a combobox and a spinbox.<br>
When I edit a row using the Edit UI dialog, the combobox PROVINCIA loads<br>
all the values of the PROVINCIA field, but doesn&#39;t select the current row value.<br>
The spinbox does the same, it doesn&#39;t load the current value.<br>
<br>
If I use lineedits instead, it works and loads the fields&#39; value.<br>
<br>
Loading only doesn&#39;t work, because if I change the value and and press OK<br>
the dialog stores the new value back into the field.<br>
<br>
Does anybody confirm??<br>
Cheers.<br>
<br>
-- <br>
Giuseppe Sucameli<br>
<br>
<br></div></div>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
<br>
<br>
________ Information from NOD32 ________<br>
This message was checked by NOD32 Antivirus System for Linux Mail Server.<br>
<a href="http://www.nod32.com" target="_blank">http://www.nod32.com</a><br>
</blockquote>
<br>
<br>
________ Information from NOD32 ________<br>
This message was checked by NOD32 Antivirus System for Linux Mail Server.<br>
<a href="http://www.nod32.com" target="_blank">http://www.nod32.com</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Giuseppe Sucameli<br><br>