commit 14cee479e93e8228f9ba763f50e4a5ca8aa3df4f
Author: Koji Yokota <yok...@lyx.org>
Date:   Wed Jun 11 20:51:24 2025 +0900

    Ensure synchronization between ColorsTV selection and buttons
---
 src/frontends/qt/GuiPrefs.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/frontends/qt/GuiPrefs.cpp b/src/frontends/qt/GuiPrefs.cpp
index 26b76a9bd5..644487f824 100644
--- a/src/frontends/qt/GuiPrefs.cpp
+++ b/src/frontends/qt/GuiPrefs.cpp
@@ -1129,7 +1129,6 @@ void PrefColors::clickedColorsTV(const QModelIndex index)
        if (column < 2)
                changeColor(row, column);
 
-       setEditButtonStatus();
        setResetButtonStatus(row);
 }
 
@@ -1159,6 +1158,7 @@ void PrefColors::selectionChanged(const QItemSelection 
&selected,
                                QItemSelectionModel::Current |
                                QItemSelectionModel::Select);
        selected_indexes_ = selection_model_.selectedIndexes();
+       setEditButtonStatus();
 }
 
 
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
https://lists.lyx.org/mailman/listinfo/lyx-cvs

Reply via email to