Gui: fix regression that NaviCube cannot be switched off any more

This commit is contained in:
wmayer
2023-02-03 17:10:42 +01:00
committed by Uwe
parent 00813654a1
commit 9dc366f817
3 changed files with 4 additions and 15 deletions

View File

@@ -123,8 +123,7 @@ void DlgSettingsNavigation::recreateNaviCubes()
for (auto view : views) {
if (auto view3d = qobject_cast<View3DInventor*>(view)) {
auto viewer = view3d->getViewer();
viewer->deleteNavigationCube();
viewer->createNavigationCube();
viewer->updateNavigationCube();
}
}
}