Skip to content

Commit

Permalink
Merge pull request #5185 from Funinja/correct_hex_focus
Browse files Browse the repository at this point in the history
Fixed deselect of hexlineedit after right click
  • Loading branch information
RodneyBaker authored Dec 8, 2023
2 parents ab4e4dc + 4ea20f2 commit e78ebc3
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion toonz/sources/toonzqt/hexcolornames.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit e78ebc3

Please sign in to comment.