mirror of
https://github.com/syncthing/syncthing.git
synced 2025-12-23 22:18:14 -05:00
Currently, the Revert Local Changes button for Receive Only folders, and the Delete Unexpected Items button for Receive Encrypted folders buttons are shown even when the folder is already performing other operations. Because of the above, pressing the button seems to have no effect, as its operation can only proceed after the previous operations have completed. This confuses the user, who then may keep trying to press the buttons again and again with no visible result. Therefore, show the two buttons only when the folders are actually idle, without performing other operations at the same time. This change makes them behave similarly to the Override Changes button, which is also only displayed for Send Only folders when they are idle. Signed-off-by: Tomasz Wilczyński twilczynski@naver.com