This fixes a bug that could be reproduced as follows:
1. ensure that *no* item in the tree is selected (highlighted); 2. press the "Refresh" keybinding.
Without this fix, the contents of the tree are duplicated. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany-plugins/pull/525
-- Commit Summary --
* TreeBrowser: fix refreshing without selection
-- File Changes --
M treebrowser/src/treebrowser.c (3)
-- Patch Links --
https://github.com/geany/geany-plugins/pull/525.patch https://github.com/geany/geany-plugins/pull/525.diff
Merged #525.
github-comments@lists.geany.org