From 0892cf8f016dbdd70594f089aa06e8caf26be2eb Mon Sep 17 00:00:00 2001 From: ouv Date: Fri, 21 Oct 2016 17:02:03 +0300 Subject: [PATCH] 0004063: axis logarithmic and clone view --- src/Plot2d/Plot2d_ViewModel.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Plot2d/Plot2d_ViewModel.cxx b/src/Plot2d/Plot2d_ViewModel.cxx index 4f00b30c1..4b505c4f2 100755 --- a/src/Plot2d/Plot2d_ViewModel.cxx +++ b/src/Plot2d/Plot2d_ViewModel.cxx @@ -182,6 +182,11 @@ void Plot2d_Viewer::onCloneView( Plot2d_ViewFrame* clonedVF, Plot2d_ViewFrame* n // 1) Copy all properties of view + // These two methods should be called before copyPreferences() + // because they do nothing if the mode is not changed. + newVF->setHorScaleMode( clonedVF->getHorScaleMode() ); + newVF->setVerScaleMode( clonedVF->getVerScaleMode() ); + newVF->copyPreferences( clonedVF ); newVF->setSecondY( clonedVF->getSecondY() ); -- 2.39.2