mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
Make sure to update the save count when restoring changes too
This commit is contained in:
@@ -104,6 +104,7 @@ export function uiToolSave(context) {
|
||||
|
||||
|
||||
context.history()
|
||||
.on('restore.save', updateCount)
|
||||
.on('change.save', function(difference) {
|
||||
if (difference) updateCount();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user