diff --git a/HISTORY.md b/HISTORY.md index 07cd1c43..09f3baf3 100755 --- a/HISTORY.md +++ b/HISTORY.md @@ -8,11 +8,15 @@ * new "Database" library operating on localstore * **Notable Fixes:** * changing the type of a custom block from reporter to command in the block editor changes the prototype instead of adding another one + * deleting project notes in the "save" dialog now also deletes them in the saved project * **Translation Updates:** * Catalan, thanks, Joan! * Norwegian, thanks, Olav! * German +### 2020-09-07 +* gui: deleting project notes in the "save" dialog now also deletes them in the saved project + ### 2020-09-04 * byob, blocks, objects: refactored scanning for message senders * blocks: support scanning for message receivers from inside a block editor diff --git a/snap.html b/snap.html index fc285fd8..ae557e2a 100755 --- a/snap.html +++ b/snap.html @@ -11,7 +11,7 @@ - + diff --git a/src/gui.js b/src/gui.js index 29740d80..623931e4 100644 --- a/src/gui.js +++ b/src/gui.js @@ -78,7 +78,7 @@ Animation, BoxMorph, BlockEditorMorph, BlockDialogMorph, Note, ZERO, BLACK*/ // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2020-September-01'; +modules.gui = '2020-September-07'; // Declarations @@ -7145,7 +7145,9 @@ ProjectDialogMorph.prototype.saveProject = function () { var name = this.nameField.contents().text.text, notes = this.notesText.text; - this.ide.projectNotes = notes || this.ide.projectNotes; + if (this.ide.projectNotes !== notes) { + this.ide.projectNotes = notes; + } if (name) { if (this.source === 'cloud') { if (detect(