[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/kstars/summer/kstars/kstars/tools
From: Prakash Mohan <prak902000 () gmail ! com>
Date: 2009-05-31 22:26:18
Message-ID: 1243808778.307159.15203.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 976110 by prakash:
We need to clear the SessionView, AVTPlot, CurrentObject, TimeHash, SessionList \
before opening a new session list.
CCMAIL: kstars-devel@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;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic