QTfrontend/ui/widget/colorwidget.cpp
changeset 15000 d597a851f5d8
parent 13228 d23742ccf92b
child 15161 d20e52a646e7
--- a/QTfrontend/ui/widget/colorwidget.cpp	Sat May 18 03:07:21 2019 +0200
+++ b/QTfrontend/ui/widget/colorwidget.cpp	Sat May 18 16:05:06 2019 +0200
@@ -30,7 +30,7 @@
 
     QStandardItem * item = m_colorsModel->item(m_color);
 
-    setStyleSheet(QString("* { border: 2px solid #ffcc00; border-radius: 8px; background: %1 } :disabled { border-color: #a0a0a0; }").arg(item->data().value<QColor>().name()));
+    setStyleSheet(QString("* { border: 2px solid #ffcc00; border-radius: 8px; background: %1 } :disabled { border-color: #a0a0a0; } :hover { border-color: #ffff00; }").arg(item->data().value<QColor>().name()));
     /*
     QPalette p = palette();
     p.setColor(QPalette::Window, item->data().value<QColor>());