From bebaa777e853d70520ffd36375978c9b5285d7e8 Mon Sep 17 00:00:00 2001 From: Desmis Date: Thu, 4 Jun 2020 10:01:52 +0200 Subject: [PATCH] Added tooltip avoid color shift --- rtgui/controlspotpanel.cc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rtgui/controlspotpanel.cc b/rtgui/controlspotpanel.cc index e901e0d74..e3a4eef61 100644 --- a/rtgui/controlspotpanel.cc +++ b/rtgui/controlspotpanel.cc @@ -107,6 +107,7 @@ ControlSpotPanel::ControlSpotPanel(): sigc::mem_fun(*this, &ControlSpotPanel::on_button_delete)); buttonduplicateconn_ = button_duplicate_->signal_clicked().connect( sigc::mem_fun(*this, &ControlSpotPanel::on_button_duplicate)); + hbox1_->pack_start(*button_add_); hbox1_->pack_start(*button_delete_); hbox1_->pack_start(*button_duplicate_); @@ -118,6 +119,7 @@ ControlSpotPanel::ControlSpotPanel(): buttonvisibilityconn_ = button_visibility_->signal_button_release_event().connect( sigc::mem_fun(*this, &ControlSpotPanel::on_button_visibility)); + if (showtooltip) { button_visibility_->set_tooltip_markup(M("TP_LOCALLAB_VIS_TOOLTIP")); } @@ -380,6 +382,7 @@ ControlSpotPanel::ControlSpotPanel(): if (showtooltip) { recurs_->set_tooltip_text(M("TP_LOCALLAB_RECURS_TOOLTIP")); + avoid_->set_tooltip_text(M("TP_LABCURVE_AVOIDCOLORSHIFT_TOOLTIP")); } pack_start(*recurs_);