<br><br><div class="gmail_quote">On Sun, Jul 26, 2009 at 11:11 AM, Cristian Oneţ <span dir="ltr">&lt;<a href="mailto:onet.cristian@gmail.com">onet.cristian@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
În data de Duminică 26 Iulie 2009 16:06:27 Alvaro Soliverez a scris:<br>
<div class="im">&gt; &gt; It is enough to explicitly enable the updates but I would prefer<br>
&gt; &gt; disabling/restoring the updates in the transaction form only if that is<br>
&gt; &gt; needed<br>
&gt; &gt; (when they are not already disabled). That way when the updates on the<br>
&gt; &gt; parent<br>
&gt; &gt; widget are re-enabled they will also be re-enabled on the transaction<br>
&gt; &gt; form.<br>
&gt;<br>
&gt; Can you emit a signal and connect it to a slot that will setUpdatesEnabled<br>
&gt; to true?<br>
&gt; That might do it.<br>
</div>What do you say about the attached patch instead of setting up a signal?<br>
<br>
</blockquote><div>Well, it&#39;s simpler than setting up a signal.  :))<br><br>Does updatesEnabled return false only if it is disabled explicitly or always when a parent widget has been disabled?<br>Do you think this will catch all cases?<br>
<br>Regards,<br>Alvaro<br></div></div><br><br>