Changeset View
Changeset View
Standalone View
Standalone View
kstars/tools/observinglist.cpp
Context not available. | |||||
385 | ui->SessionView->resizeColumnsToContents(); | 385 | ui->SessionView->resizeColumnsToContents(); | ||
---|---|---|---|---|---|
386 | //Note addition in statusbar | 386 | //Note addition in statusbar | ||
387 | KStars::Instance()->statusBar()->showMessage(i18n("Added %1 to session list.", finalObjectName), 0); | 387 | KStars::Instance()->statusBar()->showMessage(i18n("Added %1 to session list.", finalObjectName), 0); | ||
388 | SkyMap::Instance()->forceUpdate(); | ||||
388 | } | 389 | } | ||
389 | setSaveImagesButton(); | 390 | setSaveImagesButton(); | ||
390 | } | 391 | } | ||
Context not available. | |||||
449 | isModified = true; //Removing an object should trigger the modified flag | 450 | isModified = true; //Removing an object should trigger the modified flag | ||
450 | ui->avt->removeAllPlotObjects(); | 451 | ui->avt->removeAllPlotObjects(); | ||
451 | ui->SessionView->resizeColumnsToContents(); | 452 | ui->SessionView->resizeColumnsToContents(); | ||
453 | SkyMap::Instance()->forceUpdate(); | ||||
452 | } | 454 | } | ||
453 | } | 455 | } | ||
454 | 456 | | |||
Context not available. | |||||
862 | TimeHash.clear(); | 864 | TimeHash.clear(); | ||
863 | m_CurrentObject = nullptr; | 865 | m_CurrentObject = nullptr; | ||
864 | m_SessionModel->removeRows(0, m_SessionModel->rowCount()); | 866 | m_SessionModel->removeRows(0, m_SessionModel->rowCount()); | ||
867 | SkyMap::Instance()->forceUpdate(); | ||||
865 | //First line is the name of the list. The rest of the file is | 868 | //First line is the name of the list. The rest of the file is | ||
866 | //object names, one per line. With the TimeHash value if present | 869 | //object names, one per line. With the TimeHash value if present | ||
867 | QTextStream istream(&f); | 870 | QTextStream istream(&f); | ||
Context not available. | |||||
915 | TimeHash.clear(); | 918 | TimeHash.clear(); | ||
916 | isModified = true; //Removing an object should trigger the modified flag | 919 | isModified = true; //Removing an object should trigger the modified flag | ||
917 | m_SessionModel->setRowCount(0); | 920 | m_SessionModel->setRowCount(0); | ||
921 | SkyMap::Instance()->forceUpdate(); | ||||
918 | } | 922 | } | ||
919 | } | 923 | } | ||
920 | } | 924 | } | ||
Context not available. | |||||
1204 | slotAddObject(obj.data(), true, true); | 1208 | slotAddObject(obj.data(), true, true); | ||
1205 | } | 1209 | } | ||
1206 | } | 1210 | } | ||
1211 | SkyMap::Instance()->forceUpdate(); | ||||
1207 | } | 1212 | } | ||
1208 | 1213 | | |||
1209 | void ObservingList::slotSetTime() | 1214 | void ObservingList::slotSetTime() | ||
Context not available. |