From a7c082760d6cd32dd54ec23f0adb84125805a0f3 Mon Sep 17 00:00:00 2001 From: wmayer Date: Sun, 7 Oct 2018 22:39:33 +0200 Subject: [PATCH] keep corner of navi cube when changing language --- src/Gui/DlgSettings3DViewImp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Gui/DlgSettings3DViewImp.cpp b/src/Gui/DlgSettings3DViewImp.cpp index 888b8e57fa..6bcbff2d2e 100644 --- a/src/Gui/DlgSettings3DViewImp.cpp +++ b/src/Gui/DlgSettings3DViewImp.cpp @@ -189,12 +189,14 @@ void DlgSettings3DViewImp::changeEvent(QEvent *e) int navigation = comboNavigationStyle->currentIndex(); int orbit = comboOrbitStyle->currentIndex(); int aliasing = comboAliasing->currentIndex(); + int corner = naviCubeCorner->currentIndex(); retranslateUi(this); retranslate(); comboNavigationStyle->setCurrentIndex(navigation); comboOrbitStyle->setCurrentIndex(orbit); comboAliasing->setCurrentIndex(aliasing); comboAliasing->blockSignals(false); + naviCubeCorner->setCurrentIndex(corner); } else { QWidget::changeEvent(e);