[Kstars-devel] branches/kstars/summer/kstars/kstars/tools
Prakash Mohan
prak902000 at gmail.com
Mon Jun 1 00:26:18 CEST 2009
SVN commit 976110 by prakash:
We need to clear the SessionView, AVTPlot, CurrentObject, TimeHash, SessionList before opening a new session list.
CCMAIL: kstars-devel at kde.org
M +7 -1 observinglist.cpp
--- branches/kstars/summer/kstars/kstars/tools/observinglist.cpp #976109:976110
@@ -811,7 +811,13 @@
}
saveCurrentList();
- //First line is the name of the list. The rest of the file should
+ ui->tabWidget->setCurrentIndex(1);
+ slotChangeTab(1);
+ SessionList().clear();
+ TimeHash.clear();
+ m_CurrentObject = 0;
+ m_Session->removeRows( 0, m_Session->rowCount() );
+ //First line is the name of the list. The rest of the file should
//be object names, one per line.
QTextStream istream(&f);
QString line;
More information about the Kstars-devel
mailing list