diff --git a/rtdata/languages/default b/rtdata/languages/default index f89c13cb5..9fd301eba 100644 --- a/rtdata/languages/default +++ b/rtdata/languages/default @@ -1216,6 +1216,7 @@ HISTORY_MSG_PDSHARPEN_RADIUS_BOOST;CS - Corner radius boost HISTORY_MSG_PERSP_CAM_ANGLE;Perspective - Camera HISTORY_MSG_PERSP_CAM_FL;Perspective - Camera HISTORY_MSG_PERSP_CAM_SHIFT;Perspective - Camera +HISTORY_MSG_PERSP_CTRL_LINE;Perspective - Control lines HISTORY_MSG_PERSP_METHOD;Perspective - Method HISTORY_MSG_PERSP_PROJ_ANGLE;Perspective - Recovery HISTORY_MSG_PERSP_PROJ_ROTATE;Perspective - PCA rotation diff --git a/rtgui/perspective.cc b/rtgui/perspective.cc index e652c21f2..a113a13f9 100644 --- a/rtgui/perspective.cc +++ b/rtgui/perspective.cc @@ -105,7 +105,7 @@ PerspCorrection::PerspCorrection () : FoldableToolPanel(this, "perspective", M(" EvPerspProjRotateVoid = mapper->newEvent(M_VOID, "HISTORY_MSG_PERSP_PROJ_ROTATE"); EvPerspProjShiftVoid = mapper->newEvent(M_VOID, "HISTORY_MSG_PERSP_PROJ_SHIFT"); setCamBasedEventsActive(); - EvPerspControlLines = mapper->newEvent(M_VOID); + EvPerspControlLines = mapper->newEvent(M_VOID, "HISTORY_MSG_PERSP_CTRL_LINE"); lens_geom_listener = nullptr; metadata = nullptr; @@ -720,7 +720,7 @@ void PerspCorrection::setEditProvider(EditDataProvider* provider) void PerspCorrection::lineChanged(void) { if (listener) { - listener->panelChanged(EvPerspControlLines, ""); + listener->panelChanged(EvPerspControlLines, M("HISTORY_CHANGED")); } }