changing
This commit is contained in:
@@ -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);
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user