Skip to content

Commit

Permalink
keep corner of navi cube when changing language
Browse files Browse the repository at this point in the history
  • Loading branch information
wwmayer committed Oct 7, 2018
1 parent 8e08419 commit 84aa87c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Gui/DlgSettings3DViewImp.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 84aa87c

Please sign in to comment.