From df42c7e5fe0b34f18b1fa5be0fa22d486d39bab2 Mon Sep 17 00:00:00 2001 From: sanjayk03-dev Date: Fri, 12 Jan 2024 01:30:47 +0530 Subject: [PATCH] changing --- src/js/macros.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/js/macros.js b/src/js/macros.js index 43e52d8..7d8b2ec 100644 --- a/src/js/macros.js +++ b/src/js/macros.js @@ -86,11 +86,10 @@ module.exports = { if(this.state.selected =='default'){ const file = this.newGcode[this.tab-1]; - file.name = macrosName; SvelteComponents.showDialog("Upload", { file, onComplete: () => { - this.last_file_time = undefined; // Force reload + this.last_file_time = macrosName; this.$broadcast("gcode-reload", file.name); }, });