Skip to content

Commit 8c2bc04

Browse files
committed
isocenter will only be updated from the GUI field if not set to "multiple isoCenter"
1 parent 0d68a2d commit 8c2bc04

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

matRad/gui/widgets/matRad_PlanWidget.m

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -982,8 +982,12 @@ function updatePlnInWorkspace(this,hObject,evtData)
982982
this.plotPlan = true;
983983
end
984984

985-
pln.propStf.numOfBeams = numel(pln.propStf.gantryAngles);
986-
pln.propStf.isoCenter = this.parseStringAsNum(get(handles.editIsoCenter,'String'),true);
985+
pln.propStf.numOfBeams = numel(pln.propStf.gantryAngles);
986+
987+
isoStr = get(handles.editIsoCenter,'String');
988+
if ~isequal(isoStr,'multiple isoCenter')
989+
pln.propStf.isoCenter = this.parseStringAsNum(isoStr,true);
990+
end
987991

988992
% switch machines depending on radmode selection
989993
selectedMachine = get(handles.popUpMachine,'Value');

0 commit comments

Comments
 (0)