mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Oximeter Purge should only delete oximetry sessions
This commit is contained in:
parent
f42058f394
commit
9cee9a6e03
@ -2364,8 +2364,7 @@ void MainWindow::on_actionPurgeCurrentDaysOximetry_triggered()
|
||||
return;
|
||||
}
|
||||
|
||||
QList<Session *> sessionlist;
|
||||
sessionlist.append(day->sessions);
|
||||
QList<Session *> sessionlist=day->getSessions(MT_OXIMETER);
|
||||
|
||||
for (auto & sess : sessionlist) {
|
||||
sess->Destroy();
|
||||
|
Loading…
Reference in New Issue
Block a user