[Kstars-devel] kdeedu/kstars/kstars

Jason Harris kstars at 30doradus.org
Wed Jul 14 08:02:38 CEST 2004


CVS commit by harris: 

Give the keyboard focus to the RA or Azimuth input fields when the Manual Focus tool is opened.

CCMAIL: kstars-devel at kde.org


  M +2 -0      focusdialog.cpp   1.21


--- kdeedu/kstars/kstars/focusdialog.cpp  #1.20:1.21
@@ -48,4 +48,5 @@ FocusDialog::FocusDialog( QWidget *paren
         connect( this, SIGNAL( okClicked() ), this, SLOT( validatePoint() ) );
 
+        fdlg->raBox->setFocus(); //set input focus
         enableButtonOK( false ); //disable until both lineedits are filled
 }
@@ -154,4 +155,5 @@ QSize FocusDialog::sizeHint() const
 void FocusDialog::activateAzAltPage() {
         fdlg->fdTab->showPage( fdlg->aaTab );
+        fdlg->azBox->setFocus();
 }
 #include "focusdialog.moc"




More information about the Kstars-devel mailing list