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

Prakash Mohan prak902000 at gmail.com
Sun May 10 14:53:00 CEST 2009


SVN commit 966057 by prakash:

Fixing a bug in the ObservingList, nothing was plotted in the first selection.

CCMAIL: kstars-devel at kde.org


 M  +1 -1      observinglist.cpp  


--- branches/kstars/summer/kstars/kstars/tools/observinglist.cpp #966056:966057
@@ -316,6 +316,7 @@
         }
         if ( found ) {
             m_CurrentObject = o;
+            PlotObject = currentObject();
             plot( PlotObject );
 
             if ( newName != i18n( "star" ) ) {
@@ -324,7 +325,6 @@
                 saveCurrentUserLog(); //uses LogObject, which is still the previous obj.
                 //set LogObject to the new selected object
                 LogObject = currentObject();
-                PlotObject = currentObject();
                 ui->NotesLabel->setEnabled( true );
                 ui->NotesEdit->setEnabled( true );
                 ui->NotesLabel->setText( i18n( "observing notes for %1:", LogObject->translatedName() ) );


More information about the Kstars-devel mailing list