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

Jérôme Sonrier jsid at emor3j.fr.eu.org
Wed Apr 8 00:43:36 CEST 2009


SVN commit 950862 by jsonrier:

Don't show xplanet submenu for comets.

CCMAIL: kstars-devel at kde.org



 M  +1 -1      kspopupmenu.cpp  


--- trunk/KDE/kdeedu/kstars/kstars/kspopupmenu.cpp #950861:950862
@@ -291,7 +291,7 @@
     addSeparator();
 
 #ifdef HAVE_XPLANET
-    if ( obj->isSolarSystem() ) {
+    if ( obj->isSolarSystem() && obj->type() != SkyObject::COMET ) {
         QMenu *xplanetSubmenu = new QMenu();
         xplanetSubmenu->setTitle( "Print Xplanet view" );
         xplanetSubmenu->addAction( i18n( "To screen" ), ks->map(), SLOT( slotXplanetToScreen() ) );


More information about the Kstars-devel mailing list