OpenToonz - An open-source full-featured 2D animation creation software
C
Fixed deselect of hexlineedit after right click
Dennis Lam4ea20f22db1c
diff --git a/toonz/sources/toonzqt/hexcolornames.cpp b/toonz/sources/toonzqt/hexcolornames.cppindex 201b30590..cc500b069 100644--- a/toonz/sources/toonzqt/hexcolornames.cpp+++ b/toonz/sources/toonzqt/hexcolornames.cpp@@ -390,7 +390,10 @@ void HexLineEdit::mousePressEvent(QMouseEvent *event) {void HexLineEdit::focusOutEvent(QFocusEvent *event) {QLineEdit::focusOutEvent(event);- deselect();+ if (!m_editing) {+ deselect();+ }+m_editing = false;}