plugins: reselect when toggling the current plugin
commit8ac9d56fff28a6a8b296bfde3f7c047bc8762e61
authorThomas Martitz <kugel@rockbox.org>
Wed, 26 Aug 2015 21:58:28 +0000 (26 23:58 +0200)
committerThomas Martitz <kugel@rockbox.org>
Mon, 5 Oct 2015 20:11:12 +0000 (5 22:11 +0200)
tree9d8eea89ab3ae08424646868faaee87c5c913a3e
parent6e5ca69e2e9ddbfc2cc44527a1aa5fca8db09167
plugins: reselect when toggling the current plugin

When enabling/disabling pluxys in the PM dialog the list of available
plugins might change. If plugins before the pluxy go/come then the wrong
plugin becomes selected (the selected row number stays the same). Re-apply
the selection to the current one in the toggle callback to overcome this issue.
src/plugins.c