Merge pull request #348 from marhali/hotfix/internal-api-usage

remove saveAll action on reload
This commit is contained in:
Marcel 2023-12-11 18:53:44 +01:00 committed by GitHub
commit cfff6187de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,6 @@ public class InstanceManager {
* Fetches data from persistence layer and notifies all endpoints via {@link DataBus}. * Fetches data from persistence layer and notifies all endpoints via {@link DataBus}.
*/ */
public void reload() { public void reload() {
ApplicationManager.getApplication().saveAll(); // Save opened files (required if new locales were added)
store.loadFromPersistenceLayer((success) -> store.loadFromPersistenceLayer((success) ->
bus.propagate().onUpdateData(store.getData())); bus.propagate().onUpdateData(store.getData()));
} }