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

List:       kde-commits
Subject:    KDE/kdepim/akonadi/resources/microblog
From:       Sebastian Kügler <sebas () kde ! org>
Date:       2009-04-05 12:52:55
Message-ID: 1238935975.584359.11395.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 949487 by sebas:

Enable the test button when the username is pre-filled into the form

 M  +1 -1      configdialog.cpp  


--- trunk/KDE/kdepim/akonadi/resources/microblog/configdialog.cpp #949486:949487
@@ -46,7 +46,7 @@
             ui.kcfg_Name->setText( usersName );
     }
     setButtons( KDialog::Ok | KDialog::Cancel );
-    ui.testButton->setEnabled(false);
+    ui.testButton->setEnabled(!ui.kcfg_Name->text().isEmpty());
     connect( ui.testButton, SIGNAL( clicked() ), SLOT( slotTestClicked() ) );
     connect( ui.kcfg_UserName, SIGNAL(textChanged(const QString&)), \
                SLOT(slotTextChanged(const QString&)));
     connect( ui.openidLabel, SIGNAL( linkActivated ( const QString & ) ), SLOT( \
slotLinkClicked() ) );


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

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