vcl/win/window/salframe.cxx |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 0635321785aabc915e715d1fc1b958664ee05eaf
Author:     Heiko Tietze <[email protected]>
AuthorDate: Wed Jan 28 06:54:32 2026 +0100
Commit:     Adolfo Jayme Barrientos <[email protected]>
CommitDate: Fri Jan 30 03:12:26 2026 +0100

    Resolves tdf#170143 - Set ButtonTextColor on theme change
    
    Reverts c7a29af1d77c4e1483154b262c7c621067cd2685
    
    Change-Id: I50215c3e161d3e22ed34c7407c22cdae50fff045
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198250
    Reviewed-by: Heiko Tietze <[email protected]>
    Tested-by: Jenkins
    Tested-by: Heiko Tietze <[email protected]>
    (cherry picked from commit 5c723785d4cf512bba0591a5328f2a9784b82bc2)
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198287
    Reviewed-by: Adolfo Jayme Barrientos <[email protected]>

diff --git a/vcl/win/window/salframe.cxx b/vcl/win/window/salframe.cxx
index ebbd3c468fed..099a836719cd 100644
--- a/vcl/win/window/salframe.cxx
+++ b/vcl/win/window/salframe.cxx
@@ -2624,6 +2624,7 @@ static void lcl_LoadColorsFromTheme(StyleSettings& 
rStyleSet)
     rStyleSet.SetMenuBarTextColor(rThemeColors.GetMenuBarTextColor());
     rStyleSet.SetMenuTextColor(rThemeColors.GetMenuTextColor());
 
+    rStyleSet.SetButtonTextColor(rThemeColors.GetButtonTextColor());
     
rStyleSet.SetDefaultActionButtonTextColor(rThemeColors.GetButtonTextColor());
     rStyleSet.SetActionButtonTextColor(rThemeColors.GetButtonTextColor());
     rStyleSet.SetShadowColor(rThemeColors.GetShadeColor());

Reply via email to