[Kstars-devel] branches/KDE/4.3/kdeedu/kstars/kstars

Akarsh Simha akarshsimha at gmail.com
Tue Oct 6 20:15:19 CEST 2009


SVN commit 1032051 by asimha:

Backporting r1032048 to 4.3

CCMAIL: kstars-devel at kde.org



 M  +4 -0      dialogs/detaildialog.cpp  
 M  +3 -0      kspopupmenu.cpp  


--- branches/KDE/4.3/kdeedu/kstars/kstars/dialogs/detaildialog.cpp #1032050:1032051
@@ -359,6 +359,10 @@
 
     Pos->TimeTransit->setText( QString().sprintf( "%02d:%02d", tt.hour(), tt.minute() ) );
     Pos->AltTransit->setText( talt.toDMSString() );
+
+    // Restore the position and other time-dependent parameters
+    selectedObject->recomputeCoords( ut, geo );
+
 }
 
 void DetailDialog::createLinksTab()
--- branches/KDE/4.3/kdeedu/kstars/kstars/kspopupmenu.cpp #1032050:1032051
@@ -475,6 +475,9 @@
     labRiseTime->setText( "<b>"+rt+"</b>" );
     labSetTime->setText( "<b>"+st+"</b>" );
     labTransitTime->setText( "<b>"+tt+"</b>" ) ;
+
+    // Restore the position to the original
+    obj->recomputeCoords( ks->data()->ut(), ks->data()->geo() );
 }
 
 #include "kspopupmenu.moc"


More information about the Kstars-devel mailing list