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

Prakash Mohan prak902000 at gmail.com
Wed Jul 15 04:18:00 CEST 2009


SVN commit 996859 by prakash:

Removing support for Unnamed stars, can't maintain them in the new XML format of the logs.

CCMAIL: kstars-devel at kde.org


 M  +5 -0      observinglist.cpp  


--- branches/kstars/summer/kstars/kstars/tools/observinglist.cpp #996858:996859
@@ -228,6 +228,11 @@
     bool addToWishList=true;
     if ( ! obj ) obj = ks->map()->clickedObject();
 
+    if( obj->name() == "star" ) {
+        KMessageBox::sorry(0, i18n( "Unnamed stars are not supported in the observing lists"));
+        return;
+    }
+        
     //First, make sure object is not already in the list
     if ( obsList().contains( obj ) ) {
         addToWishList = false;


More information about the Kstars-devel mailing list