diff --git a/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.cpp b/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.cpp index 036ce11e23..1bdd249010 100644 --- a/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.cpp +++ b/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.cpp @@ -286,6 +286,8 @@ void MillSim::GuiDisplay::SetupTooltips() guiItems[eGuiItemView].toolTip = QCoreApplication::translate("CAM:Simulator:Tooltips", "Toggle view simulation/model", nullptr); + guiItems[eGuiItemHome].toolTip = + QCoreApplication::translate("CAM:Simulator:Tooltips", "Reset camera", nullptr); } void GuiDisplay::MouseCursorPos(int x, int y) diff --git a/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.h b/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.h index bb14528604..02a2494ef5 100644 --- a/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.h +++ b/src/Mod/CAM/PathSimulator/AppGL/GuiDisplay.h @@ -52,8 +52,8 @@ enum eGuiItems eGuiItemPath, eGuiItemAmbientOclusion, eGuiItemView, - eGuiItemMax, - eGuiItemHome + eGuiItemHome, + eGuiItemMax // this element must be the last item always }; struct GuiItem