[LyX/master] Revert "Add forgotten enum value"

Juergen Spitzmueller <[email protected]> Sun, 10 May 2026 15:13:27 +0000
Newsgroups gmane.editors.lyx.cvs
Message-ID <[email protected]>
commit c0d0ba861fbc88cfc6ac43428fcb58796b1d4625
Author: Juergen Spitzmueller <[email protected]>
Date:   Sun May 10 17:11:07 2026 +0200

    Revert "Add forgotten enum value"
    
    This reverts commit 5cbb95bb7f21235421735ef64a37f8a927a2a953.
    
    We actually do NOT want Color_foreground_inverted here, since this will give the wrong
    text color for inverted context if "use system colors" is set.
---
 src/frontends/qt/ColorCache.cpp | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/frontends/qt/ColorCache.cpp b/src/frontends/qt/ColorCache.cpp
index dbc9a72040..32854af729 100644
--- a/src/frontends/qt/ColorCache.cpp
+++ b/src/frontends/qt/ColorCache.cpp
@@ -38,7 +38,6 @@ QPalette::ColorRole role(ColorCode col)
 		break;
 
 	case Color_foreground:
-	case Color_foreground_inverted:
 	case Color_cursor:
 	case Color_preview:
 	case Color_tabularline:
-- 
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs