commit d5a177ccf058c51f2b177aeee07e7f11a0eec72d Author: Juergen Spitzmueller <sp...@lyx.org> Date: Tue Feb 25 13:07:27 2025 +0100
Move ColorsCombo tooltip upstream and streamline it a bit, too --- src/frontends/qt/ColorsCombo.cpp | 1 + src/frontends/qt/GuiBox.cpp | 2 -- src/frontends/qt/GuiCharacter.cpp | 2 -- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/frontends/qt/ColorsCombo.cpp b/src/frontends/qt/ColorsCombo.cpp index d57a5f4775..5993d84850 100644 --- a/src/frontends/qt/ColorsCombo.cpp +++ b/src/frontends/qt/ColorsCombo.cpp @@ -34,6 +34,7 @@ ColorsCombo::ColorsCombo(QWidget * parent) { setLeftMargin(32); fillComboColor(); + setToolTip(qt_("Type on the list to filter on color names.")); } diff --git a/src/frontends/qt/GuiBox.cpp b/src/frontends/qt/GuiBox.cpp index 9ea2244798..b0134c8719 100644 --- a/src/frontends/qt/GuiBox.cpp +++ b/src/frontends/qt/GuiBox.cpp @@ -114,8 +114,6 @@ GuiBox::GuiBox(QWidget * parent) : InsetParamsWidget(parent) // frame color has "default" as default value, background has "none" frameColorCO->setDefaultValue("default"); - frameColorCO->setToolTip(qt_("You can also directly type on the list to filter on color names.")); - backgroundColorCO->setToolTip(qt_("You can also directly type on the list to filter on color names.")); heightED->setValidator(unsignedLengthValidator(heightED)); widthED->setValidator(unsignedLengthValidator(widthED)); diff --git a/src/frontends/qt/GuiCharacter.cpp b/src/frontends/qt/GuiCharacter.cpp index c3d01c36ec..aa6b3a1d25 100644 --- a/src/frontends/qt/GuiCharacter.cpp +++ b/src/frontends/qt/GuiCharacter.cpp @@ -204,8 +204,6 @@ GuiCharacter::GuiCharacter(GuiView & lv) colorCO->setCustomColors(buffer().masterParams().custom_colors); custom_colors_cache_ = buffer().masterParams().custom_colors; - colorCO->setToolTip(qt_("You can also directly type on the list to filter on color names.")); - bc().setPolicy(ButtonPolicy::OkApplyCancelAutoReadOnlyPolicy); bc().setOK(buttonBox->button(QDialogButtonBox::Ok)); bc().setApply(buttonBox->button(QDialogButtonBox::Apply)); -- lyx-cvs mailing list lyx-cvs@lists.lyx.org https://lists.lyx.org/mailman/listinfo/lyx-cvs