commit 039c73bfb8303703e6354cd3a24df7b47a284589
Author: Koji Yokota <[email protected]>
Date: Wed Jun 11 01:23:41 2025 +0900
Color names should not be editable in PrefColors
---
src/frontends/qt/GuiPrefs.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/frontends/qt/GuiPrefs.cpp b/src/frontends/qt/GuiPrefs.cpp
index b911b7d9da..cc4f372ced 100644
--- a/src/frontends/qt/GuiPrefs.cpp
+++ b/src/frontends/qt/GuiPrefs.cpp
@@ -1770,6 +1770,7 @@ void PrefColors::initializeColorsTV()
item->setToolTip(qt_("Click here to change the
color in the light mode"));
else if (column == DarkColorColumn)
item->setToolTip(qt_("Click here to change the
color in the dark mode"));
+ item->setEditable(false);
colorsTV_model_.setItem(row, column, item);
}
}
--
lyx-cvs mailing list
[email protected]
https://lists.lyx.org/mailman/listinfo/lyx-cvs