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

Jérôme Sonrier jsid at emor3j.fr.eu.org
Tue Apr 7 22:45:08 CEST 2009


SVN commit 950821 by jsonrier:

Set tracking label to "Nothing" when pointing is set to East/West/etc

CCBUG: 188008
CCMAIL: kstars-devel at kde.org



 M  +4 -1      kstarsactions.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/kstarsactions.cpp #950820:950821
@@ -706,7 +706,10 @@
 //Pointing
 void KStars::slotPointFocus() {
     // In the following cases, we set slewing=true in order to disengage tracking
-	map()->stopTracking();
+    // We also change focus object to "nothing" in infobox
+    map()->stopTracking();
+    map()->infoBoxes()->focusObjChanged( i18n( "nothing" ) );
+
     if ( sender() == actionCollection()->action("zenith") ) 
         map()->setDestinationAltAz( 90.0, map()->focus()->az()->Degrees() );
     else if ( sender() == actionCollection()->action("north") )


More information about the Kstars-devel mailing list