Commit 843554d
committed
UI/Qt: Clear pressed tab when opening a tab context menu
`TabBar::mousePressEvent()` sets `m_pressed_tab` before
`TabBar::contextMenuEvent()` is called. If we don't clear it to
nullptr, we continue to think that a mouse button is pressed on a tab,
which suppresses the tab preview-on-hover. Clearing it to nullptr makes
that work again.
Fixes #105441 parent a7536de commit 843554d
1 file changed
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
809 | 809 | | |
810 | 810 | | |
811 | 811 | | |
| 812 | + | |
812 | 813 | | |
813 | 814 | | |
814 | 815 | | |
| |||
0 commit comments