From 51dd86a8ea5ba5b1272a4a4be7fb341c357689dd Mon Sep 17 00:00:00 2001 From: jmoenig Date: Tue, 22 Dec 2020 14:31:25 +0100 Subject: [PATCH] record unsaved changes in keyboard entry mode --- snap.html | 2 +- src/objects.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/snap.html b/snap.html index 483fee39..ab8b3653 100755 --- a/snap.html +++ b/snap.html @@ -10,7 +10,7 @@ - + diff --git a/src/objects.js b/src/objects.js index e780a303..e6e0ed76 100644 --- a/src/objects.js +++ b/src/objects.js @@ -84,7 +84,7 @@ BlockEditorMorph, BlockDialogMorph, PrototypeHatBlockMorph, BooleanSlotMorph, localize, TableMorph, TableFrameMorph, normalizeCanvas, VectorPaintEditorMorph, AlignmentMorph, Process, WorldMap, copyCanvas, useBlurredShadows*/ -modules.objects = '2020-December-20'; +modules.objects = '2020-December-22'; var SpriteMorph; var StageMorph; @@ -3310,7 +3310,7 @@ SpriteMorph.prototype.searchBlocks = function ( scriptFocus.insertBlock(selection); } if (ide) { - ide.hasUnsavedEdits = true; + ide.recordUnsavedChanges(); } } else { search = searchBar.getValue();