Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: use ListBox.focus instead accessing the ListWalker object
Although ListBox.get_focus() is deprecated, using ListWalker.get_focus() through ListBox.body.get_focus() is not. However, the ListBox.focus property exists and makes it easy to access the underlying focused widget ; so use it instead of dereferencing the ListWalker object. Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>
- Loading branch information