On Fri, 16 Mar 2012, Oliver Eichler wrote:

>> Ok, it's in CDlgConvertToTrack now.
>> 
>> I couldn't make the dialog resize properly without jumping and/or
>> flickering when the line edit is shown or hidden. So for now, the line
>> edit is always shown, but only enabled if the radio button is selected.
>> 
>
> That's fine. I committed the patch. There is just a minor quirk left. If your 
> last selection was not geonames and you open the dialog the edit box is 
> enabled.

This should fix it:

diff --git a/src/IDlgConvertToTrack.ui b/src/IDlgConvertToTrack.ui
index 443530f..7b4ca44 100644
--- a/src/IDlgConvertToTrack.ui
+++ b/src/IDlgConvertToTrack.ui
@@ -62,6 +62,9 @@
        </item>
        <item>
         <widget class="QWidget" name="widgetGeonamesOrgUsername" native="true">
+        <property name="enabled">
+         <bool>false</bool>
+        </property>
          <layout class="QHBoxLayout" name="boxGeonamesOrgUsername">
           <property name="topMargin">
            <number>0</number>


Michael

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Qlandkartegt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users

Reply via email to