remove saveAll action on reload
Application state should be consistent even without save action
This commit is contained in:
parent
f4d3542e6a
commit
775ae30061
@ -72,7 +72,6 @@ public class InstanceManager {
|
||||
* Fetches data from persistence layer and notifies all endpoints via {@link DataBus}.
|
||||
*/
|
||||
public void reload() {
|
||||
ApplicationManager.getApplication().saveAll(); // Save opened files (required if new locales were added)
|
||||
store.loadFromPersistenceLayer((success) ->
|
||||
bus.propagate().onUpdateData(store.getData()));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user