Fixed updating selected item when menu is moved.
This commit is contained in:
parent
6acc6f0483
commit
e2633c4b6f
1 changed files with 5 additions and 0 deletions
|
|
@ -49,6 +49,11 @@ void Menu::init() {
|
|||
Painter p(this);
|
||||
p.fillRect(clip, _st.itemBg);
|
||||
}, lifetime());
|
||||
|
||||
positionValue(
|
||||
) | rpl::start_with_next([=] {
|
||||
handleMouseMove(QCursor::pos());
|
||||
}, lifetime());
|
||||
}
|
||||
|
||||
not_null<QAction*> Menu::addAction(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue