[Kstars-devel] branches/kstars/summer/kstars/kstars/comast

Prakash Mohan prak902000 at gmail.com
Sun Aug 2 09:53:49 CEST 2009


SVN commit 1005794 by prakash:

Changing the label of the Next Button according to the page of the stackedWidget.

CCMAIL: kstars-devel at kde.org


 M  +2 -0      execute.cpp  


--- branches/kstars/summer/kstars/kstars/comast/execute.cpp #1005793:1005794
@@ -236,6 +236,7 @@
 void Execute::loadObservationTab() {
    ui.Time->setTime( KStarsDateTime::currentDateTime().time() );
    ui.stackedWidget->setCurrentIndex( 2 );
+   ui.NextButton->setText( i18n( "Next Target >" ) );
 }
 
 bool Execute::addObservation() {
@@ -346,6 +347,7 @@
         ui.AddObject->show();
         ui.stackedWidget->setCurrentIndex( 1 );
         ui.NextButton->show();
+        ui.NextButton->setText( i18n( "Next Page >" ) );
     }
 }
 


More information about the Kstars-devel mailing list