Fixed Refresh Button Lock

This commit is contained in:
Konloch 2021-07-21 13:11:46 -07:00
parent e63676e92a
commit a7fe68e801
2 changed files with 2 additions and 1 deletions

View file

@ -69,7 +69,6 @@ import static the.bytecode.club.bytecodeviewer.Constants.*;
* http://the.bytecode.club
*
* TODO BUGS:
* + Viewing a new resource should unlock the refresh button
* + Resource List creates swing lag with large projects
* + View>Visual Settings>Show Class Methods
* + Spam-clicking the refresh button will cause the swing thread to deadlock (Quickly opening resources used to also do this)

View file

@ -179,6 +179,8 @@ public class Workspace extends TranslatedVisibleComponent
return;
}
//unlock the refresh button
BytecodeViewer.viewer.workPane.refreshClass.setEnabled(true);
final String workingName = container.getWorkingName(name);