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

Prakash Mohan prak902000 at gmail.com
Sat May 30 15:05:12 CEST 2009


SVN commit 975489 by prakash:

The Add Object button should add the object to the session list also when it is triggered in the session view.

CCMAIL: kstars-devel at kde.org


 M  +6 -3      observinglist.cpp  


--- branches/kstars/summer/kstars/kstars/tools/observinglist.cpp #975488:975489
@@ -738,9 +738,12 @@
 void ObservingList::slotFind() {
     FindDialog fd( ks );    
     if ( fd.exec() == QDialog::Accepted ) {
-       SkyObject *o = fd.selectedObject();
-       if( o!= 0 )
-       slotAddObject( o );
+        SkyObject *o = fd.selectedObject();
+        if( o!= 0 )
+            if( ui->tabWidget->currentIndex() )
+                slotAddObject( o, true );
+            else
+                slotAddObject( o );  
     }
 
 }


More information about the Kstars-devel mailing list