tree: Fix refresh problems when there is nothing to refresh
tree: Fix refresh problems when there is nothing to refresh

robotframework/RIDE,robotframework/RIDE,fingeronthebutton/RIDE,fingeronthebutton/RIDE,HelioGuilherme66/RIDE,HelioGuilherme66/RIDE,caio2k/RIDE,caio2k/RIDE,fingeronthebutton/RIDE,robotframework/RIDE,HelioGuilherme66/RIDE,HelioGuilherme66/RIDE,robotframework/RIDE,caio2k/RIDE