[Kstars-devel] branches/kstars/summer/kstars/kstars/comast
Prakash Mohan
prak902000 at gmail.com
Tue Jul 28 20:28:06 CEST 2009
SVN commit 1003744 by prakash:
The findStarByGenetiveName should've been using the ui.TargetList->currentText(), not the line.
CCMAIL: kstars-devel at kde.org
M +2 -1 execute.cpp
--- branches/kstars/summer/kstars/kstars/comast/execute.cpp #1003743:1003744
@@ -170,7 +170,7 @@
void Execute::addTargetNotes() {
SkyObject *o = ks->data()->objectNamed( ui.TargetList->currentText() );
- if ( ! o ) o = ks->data()->skyComposite()->findStarByGenetiveName( line );
+ if ( ! o ) o = ks->data()->skyComposite()->findStarByGenetiveName( ui.TargetList->currentText() );
if( o ) {
o->setNotes( ui.Notes->toPlainText() );
loadObservationTab();
@@ -191,6 +191,7 @@
}
void Execute::slotEndSession() {
currentSession->setSession( ui.Id->text(), geo->fullName(), ui.Begin->dateTime(), KStarsDateTime::currentDateTime(), ui.Weather->toPlainText(), ui.Equipment->toPlainText(), ui.Comment->toPlainText(), ui.Language->text() );
+ hide();
}
void Execute::slotSetTarget( QString name ) {
More information about the Kstars-devel
mailing list