svx/source/sidebar/shadow/ShadowPropertyPanel.cxx |    2 +-
 svx/uiconfig/ui/sidebarshadow.ui                  |    4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

New commits:
commit 8e931dad335d69683ae4255e92a2ad32056beaca
Author:     Szymon Kłos <szymon.k...@collabora.com>
AuthorDate: Tue Nov 29 19:59:57 2022 +0100
Commit:     Pedro Silva <pedro.si...@collabora.com>
CommitDate: Mon Dec 5 11:22:47 2022 +0000

    jsdialogs: fix generic color label name
    
    update event was triggering other widget change:
    when opened calc and selected shape first time
    we saw color text next to other color label
    
    Change-Id: I71670ac1273ce96fafc8d20126d9f32151e96d89
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143471
    Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com>
    Reviewed-by: Pedro Silva <pedro.si...@collabora.com>

diff --git a/svx/source/sidebar/shadow/ShadowPropertyPanel.cxx 
b/svx/source/sidebar/shadow/ShadowPropertyPanel.cxx
index ff21110a2007..36b9ce6690ae 100644
--- a/svx/source/sidebar/shadow/ShadowPropertyPanel.cxx
+++ b/svx/source/sidebar/shadow/ShadowPropertyPanel.cxx
@@ -50,7 +50,7 @@ ShadowPropertyPanel::ShadowPropertyPanel(
     mxFTDistance(m_xBuilder->weld_label("distance")),
     mxFTTransparency(m_xBuilder->weld_label("transparency_label")),
     mxFTBlur(m_xBuilder->weld_label("blur_label")),
-    mxFTColor(m_xBuilder->weld_label("color")),
+    mxFTColor(m_xBuilder->weld_label("shadowcolorlabel")),
     mxShadowTransSlider(m_xBuilder->weld_scale("transparency_slider")),
     
mxShadowTransMetric(m_xBuilder->weld_metric_spin_button("FIELD_TRANSPARENCY", 
FieldUnit::PERCENT)),
     mxShadowBlurMetric(m_xBuilder->weld_metric_spin_button("LB_SHADOW_BLUR", 
FieldUnit::POINT))
diff --git a/svx/uiconfig/ui/sidebarshadow.ui b/svx/uiconfig/ui/sidebarshadow.ui
index a2b170ffa792..26e2263134cc 100644
--- a/svx/uiconfig/ui/sidebarshadow.ui
+++ b/svx/uiconfig/ui/sidebarshadow.ui
@@ -89,10 +89,10 @@
           </packing>
         </child>
         <child>
-          <object class="GtkLabel" id="color">
+          <object class="GtkLabel" id="shadowcolorlabel">
             <property name="visible">True</property>
             <property name="can-focus">False</property>
-            <property name="label" translatable="yes" 
context="sidebarshadow|color">Color:</property>
+            <property name="label" translatable="yes" 
context="sidebarshadow|shadowcolorlabel">Color:</property>
             <property name="use-underline">True</property>
             <property name="mnemonic-widget">LB_SHADOW_COLOR</property>
             <property name="xalign">0</property>

Reply via email to