Describe the bug
When a serious error is encountered in the merging process (ex. corrupted PDF file), an error alert is shown and we exit the createMergedFile method but the action button is never reset and still shows the progress percent.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
We should either reset the button to its initial state (Merge), or change it to a disabled error button so that the user can remove the problematic file before trying again.
Helpful info
Describe the bug When a serious error is encountered in the merging process (ex. corrupted PDF file), an error alert is shown and we exit the createMergedFile method but the action button is never reset and still shows the progress percent.
Steps to reproduce Steps to reproduce the behavior:
Expected behavior We should either reset the button to its initial state (Merge), or change it to a disabled error button so that the user can remove the problematic file before trying again.
Screenshots![image](https://user-images.githubusercontent.com/9030780/167963133-0d55a737-cb70-414a-b189-411bf6ba4c82.png)