From 7a4f3009118bb3e1733b68fdc2edfc05f2b54904 Mon Sep 17 00:00:00 2001 From: Desmis Date: Tue, 29 Oct 2019 09:47:46 +0100 Subject: [PATCH] Add tooltip recursive checkbox --- rtdata/languages/default | 1 + rtgui/controlspotpanel.cc | 1 + 2 files changed, 2 insertions(+) diff --git a/rtdata/languages/default b/rtdata/languages/default index 241b9c237..04c5e011e 100644 --- a/rtdata/languages/default +++ b/rtdata/languages/default @@ -2204,6 +2204,7 @@ TP_LOCALLAB_LABGRID_VALUES;High(a)=%1 High(b)=%2\nLow(a)=%3 Low(b)=%4 TP_LOCALLAB_LABGRID;Color correction grid TP_LOCALLAB_LEVELWAV_TOOLTIP;The Level is automatically adapted to the size of the spot and the preview.\nFrom level 9 size max 512 to level 1 size max = 4 TP_LOCALLAB_RECURS;Recursive references +TP_LOCALLAB_RECURS_TOOLTIP;Recalculate references for hue, luma, chroma after each module and after each RT-spot. TP_LOCALLAB_SATUR;Saturation TP_LOCALLAB_SENSIDEN;Scope TP_LOCALLAB_SENSIEXCLU;Scope diff --git a/rtgui/controlspotpanel.cc b/rtgui/controlspotpanel.cc index 65a0a5fb9..67569b0de 100644 --- a/rtgui/controlspotpanel.cc +++ b/rtgui/controlspotpanel.cc @@ -287,6 +287,7 @@ ControlSpotPanel::ControlSpotPanel(): recursConn_ = recurs_->signal_toggled().connect( sigc::mem_fun(*this, &ControlSpotPanel::recursChanged)); pack_start(*recurs_); + if(showtooltip) recurs_->set_tooltip_text(M("TP_LOCALLAB_RECURS_TOOLTIP")); Gtk::Frame* const maskFrame = Gtk::manage(new Gtk::Frame(M("TP_LOCALLAB_MASFRAME"))); maskFrame->set_label_align(0.025, 0.5);