mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 18:50:44 +00:00
Fix CMS50i single session crash
This commit is contained in:
parent
54a46c6aca
commit
f63905be52
@ -301,7 +301,10 @@ void OximeterImport::doImport()
|
||||
oximodule->Open("import");
|
||||
|
||||
if (oximodule->commandDriven()) {
|
||||
int chosen=chosen_sessions.takeFirst();
|
||||
int chosen = 0;
|
||||
if (chosen_sessions.size() > 0) {
|
||||
chosen = chosen_sessions.takeFirst();
|
||||
}
|
||||
oximodule->getSessionData(chosen);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user