Minor refactor for tool closing bug in extension apps

This commit is contained in:
dragonmacher 2025-07-28 18:18:04 -04:00
parent a63b39d14f
commit 24532a377d

View file

@ -277,7 +277,10 @@ public abstract class StandAloneApplication implements GenericStandAloneApplicat
@Override
public ToolServices getToolServices() {
return new ToolServicesAdapter() {
return new StandAloneToolServices();
}
protected static class StandAloneToolServices extends ToolServicesAdapter {
@Override
public void closeTool(PluginTool t) {
@ -315,7 +318,5 @@ public abstract class StandAloneApplication implements GenericStandAloneApplicat
}
}
};
}
}