Merge pull request #348 from marhali/hotfix/internal-api-usage
remove saveAll action on reload
This commit is contained in:
commit
cfff6187de
@ -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()));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user