Hi,

hier ein kleiner Patch der die folgenden Dinge macht:

* Focus im Dialog liegt nach dem Öffnen auf den Auswahlbuttons
* Eingabe von CR ist standardmäßig auf OK und nicht auf Help

-- 

Regards

Thomas Baumgart

GPG-FP: E55E D592 F45F 116B 8429   4F99 9C59 DB40 B75D D3BA
-------------------------------------------------------------
Having trouble with Windows? Reboot!
Having trouble with Linux? Be root!
-------------------------------------------------------------
Index: src/frontends/qbanking/lib/dialogs/qbpickstartdate.ui
===================================================================
--- src/frontends/qbanking/lib/dialogs/qbpickstartdate.ui	(revision 1410)
+++ src/frontends/qbanking/lib/dialogs/qbpickstartdate.ui	(working copy)
@@ -47,7 +47,7 @@
         </widget>
         <widget class="QButtonGroup">
             <property name="name">
-                <cstring>buttonGroup1</cstring>
+                <cstring>buttonGroup</cstring>
             </property>
             <property name="title">
                 <string>Start Date</string>
@@ -158,10 +158,10 @@
                         <string></string>
                     </property>
                     <property name="autoDefault">
-                        <bool>true</bool>
+                        <bool>false</bool>
                     </property>
                     <property name="default">
-                        <bool>true</bool>
+                        <bool>false</bool>
                     </property>
                 </widget>
                 <spacer>
@@ -209,7 +209,7 @@
                         <string></string>
                     </property>
                     <property name="autoDefault">
-                        <bool>true</bool>
+                        <bool>false</bool>
                     </property>
                 </widget>
             </hbox>
Index: src/frontends/qbanking/lib/dialogs/qbpickstartdate.cpp
===================================================================
--- src/frontends/qbanking/lib/dialogs/qbpickstartdate.cpp	(revision 1410)
+++ src/frontends/qbanking/lib/dialogs/qbpickstartdate.cpp	(working copy)
@@ -26,6 +26,7 @@
 #include <qradiobutton.h>
 #include <qlabel.h>
 #include <qpushbutton.h>
+#include <qbuttongroup.h>
 
 
 
@@ -86,6 +87,7 @@
 
   pickDateEdit->setDate(QDate::currentDate());
 
+  buttonGroup->setFocus();
 }
 
 

Attachment: signature.asc
Description: This is a digitally signed message part.

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Aqbanking-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aqbanking-devel

Reply via email to