Skip to content

Commit

Permalink
Fix hex adapter not closing on UI thread
Browse files Browse the repository at this point in the history
  • Loading branch information
Col-E committed Jun 22, 2024
1 parent ce852f0 commit f8b5210
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,10 @@ public void requestFocus() {

@Override
public void disable() {
setCenter(null);
setDisable(true);
FxThreadUtil.run(() -> {
setCenter(null);
setDisable(true);
});
}

@Override
Expand Down

0 comments on commit f8b5210

Please sign in to comment.