Skip to content

Commit 88af0d2

Browse files
wjyrichcaixr23
authored andcommitted
fix: when hide plugin,setting button sholud be hided
as title Log:
1 parent 3f0a4d7 commit 88af0d2

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

dock-network-plugin/widget/jumpsettingbutton.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,10 @@ bool JumpSettingButton::event(QEvent* e)
7979
m_hover = e->type() == QEvent::Enter;
8080
update();
8181
break;
82+
case QEvent::Hide:
83+
m_hover = false;
84+
update();
85+
break;
8286
default:
8387
break;
8488
}

0 commit comments

Comments
 (0)