From a0ab4e853dcc3cfdef45dcd79e72678f6e9acf0a Mon Sep 17 00:00:00 2001 From: Christophe Bourcier Date: Wed, 18 Nov 2020 10:51:30 +0100 Subject: [PATCH] Change default view mode of changeUnderlyingMesh to Replace instead of New Layout --- src/MEDCalc/gui/WorkspaceController.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MEDCalc/gui/WorkspaceController.cxx b/src/MEDCalc/gui/WorkspaceController.cxx index d7970fc49..a376820e7 100644 --- a/src/MEDCalc/gui/WorkspaceController.cxx +++ b/src/MEDCalc/gui/WorkspaceController.cxx @@ -347,7 +347,7 @@ void WorkspaceController::processMedEvent(const MEDCALC::MedEvent* event) { commands += QString("mesh_id"); commands += QString("field_id = medcalc.GetFirstFieldFromMesh(mesh_id)"); commands += QString("field_id"); - commands += QString("presentation_id = medcalc.MakeScalarMap(accessField(field_id), viewMode=MEDCALC.VIEW_MODE_NEW_LAYOUT)"); + commands += QString("presentation_id = medcalc.MakeScalarMap(accessField(field_id), viewMode=MEDCALC.VIEW_MODE_REPLACE)"); commands += QString("presentation_id"); _consoleDriver->exec(commands); } -- 2.39.2