[Kstars-devel] kdeedu/kstars/kstars/tools

Jason Harris kstars at 30doradus.org
Tue Jul 27 07:52:14 CEST 2004


CVS commit by harris: 

Usability fix in LCGenerator: If user makes Start or End Date fields 
blank, it will automatically reset to "default" when "Retrieve Curve" is 
clicked.

CCMAIL: kstars-devel at kde.org


  M +2 -0      lcgenerator.cpp   1.20


--- kdeedu/kstars/kstars/tools/lcgenerator.cpp  #1.19:1.20
@@ -229,4 +229,6 @@ void LCGenerator::VerifyData()
 
     // Get initial user input
+    if ( StartDateIn->text().isEmpty() ) StartDateIn->setText( i18n( "default" ) );
+    if ( EndDateIn->text().isEmpty() ) EndDateIn->setText( i18n( "default" ) );
     InitialStartDate     = StartDateIn->text().lower();
     InitialEndDate       = EndDateIn->text().lower();




More information about the Kstars-devel mailing list