This commit is contained in:
sanjayk03-dev
2024-01-12 01:30:47 +05:30
parent 04b2a66093
commit df42c7e5fe

View File

@@ -86,11 +86,10 @@ module.exports = {
if(this.state.selected =='default'){ if(this.state.selected =='default'){
const file = this.newGcode[this.tab-1]; const file = this.newGcode[this.tab-1];
file.name = macrosName;
SvelteComponents.showDialog("Upload", { SvelteComponents.showDialog("Upload", {
file, file,
onComplete: () => { onComplete: () => {
this.last_file_time = undefined; // Force reload this.last_file_time = macrosName;
this.$broadcast("gcode-reload", file.name); this.$broadcast("gcode-reload", file.name);
}, },
}); });