[Kstars-devel] branches/kstars/summer/kstars/kstars
Prakash Mohan
prak902000 at gmail.com
Mon Aug 10 15:20:31 CEST 2009
SVN commit 1009612 by prakash:
Remove the objects from the execute UI if they are removed from the session plan in the observing list.
CCMAIL: kstars-devel at kde.org
M +2 -0 kstars.cpp
M +2 -0 kstars.h
M +2 -0 tools/observinglist.cpp
--- branches/kstars/summer/kstars/kstars/kstars.cpp #1009611:1009612
@@ -281,5 +281,7 @@
ObservingList* KStars::observingList() { return obsList; }
+Execute* KStars::getExecute() { return execute; }
+
#include "kstars.moc"
--- branches/kstars/summer/kstars/kstars/kstars.h #1009611:1009612
@@ -136,6 +136,8 @@
ObservingList* observingList();
+ Execute* getExecute();
+
ImageViewer* addImageViewer(const KUrl &url, const QString &message );
void removeImageViewer( ImageViewer* );
--- branches/kstars/summer/kstars/kstars/tools/observinglist.cpp #1009611:1009612
@@ -406,6 +406,8 @@
}
//we've removed all selected objects, so clear the selection
ui->SessionView->selectionModel()->clear();
+ //Update the lists in the Execute window as well
+ ks->getExecute()->init();
} else {
//Find each object by name in the observing list, and remove it
//Go backwards so item alignment doesn't get screwed up as rows are removed.
More information about the Kstars-devel
mailing list