[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdepim-runtime/KDE/4.13] resources/pop3: Don't close dialog when we click on enter
From:       Montel Laurent <montel () kde ! org>
Date:       2014-03-13 12:54:15
Message-ID: E1WO59L-00037x-Vh () scm ! kde ! org
[Download RAW message or body]

Git commit 4760a977155a78dcd833d1b7f5b09757d9c7338e by Montel Laurent.
Committed on 13/03/2014 at 12:54.
Pushed by mlaurent into branch 'KDE/4.13'.

Don't close dialog when we click on enter

M  +15   -0    resources/pop3/popsettings.ui

http://commits.kde.org/kdepim-runtime/4760a977155a78dcd833d1b7f5b09757d9c7338e

diff --git a/resources/pop3/popsettings.ui b/resources/pop3/popsettings.ui
index 6ce6c68..2d6a1e5 100644
--- a/resources/pop3/popsettings.ui
+++ b/resources/pop3/popsettings.ui
@@ -135,6 +135,9 @@
             <property name="whatsThis">
              <string>Account name: This defines the name displayed in the account \
list.</string>  </property>
+              <property name="trapReturnKey">
+               <bool>true</bool>
+              </property>
            </widget>
           </item>
           <item row="1" column="0">
@@ -155,6 +158,9 @@
             <property name="whatsThis">
              <string>The address of the POP3 server, e.g. pop3.yourprovider.org. You \
should get this address from your mail provider.</string>  </property>
+              <property name="trapReturnKey">
+               <bool>true</bool>
+              </property>
            </widget>
           </item>
           <item row="2" column="0">
@@ -175,6 +181,9 @@
             <property name="whatsThis">
              <string>Your Internet Service Provider gave you a &lt;em&gt;user \
name&lt;/em&gt; which is used to authenticate you with their servers. It usually is \
the first part of your email address (the part before \
&lt;em&gt;@&lt;/em&gt;).</string>  </property>
+              <property name="trapReturnKey">
+               <bool>true</bool>
+              </property>
            </widget>
           </item>
           <item row="3" column="0">
@@ -198,6 +207,9 @@
             <property name="echoMode">
              <enum>QLineEdit::Password</enum>
             </property>
+              <property name="trapReturnKey">
+               <bool>true</bool>
+              </property>
            </widget>
           </item>
          </layout>
@@ -409,6 +421,9 @@
               <property name="showClearButton" stdset="0">
                <bool>true</bool>
               </property>
+              <property name="trapReturnKey">
+               <bool>true</bool>
+              </property>
              </widget>
             </item>
             <item row="0" column="1">


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic