First of all the list model will fire a change, which you should listen to.
But the time on changing the model is not the one, when the list widget renders
the change. So you have to wait till the queue has been flushed.
The easiest way is to use the widget queue which will call a function named
1. Please look at the API of MDesktop [1]. That mixin is included to the
application root by default.
I would try to listen at the focus event on root and forward the focus to the
active window if one is opened, or the most top one. Just play a bit around
with that.
2. "appear" is the best eve
Dear Community,
Please help me to get the right way with the following:
1. In case, when one modal window open another one modal window (for
instance by click on form button), I want to restore focus on this
button after second window close. At now on second window close focus
set to Application