fixing checkbox
This commit is contained in:
@@ -545,7 +545,7 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
try {
|
try {
|
||||||
this.load();
|
this.load();
|
||||||
if (this.config.macros[id].alert) {
|
if (this.config.macros[id].alert == true) {
|
||||||
this.macrosLoading = true;
|
this.macrosLoading = true;
|
||||||
} else {
|
} else {
|
||||||
setImmediate(() => this.start_pause());
|
setImmediate(() => this.start_pause());
|
||||||
|
|||||||
@@ -74,6 +74,7 @@ module.exports = {
|
|||||||
editedAlert: function (event) {
|
editedAlert: function (event) {
|
||||||
if (this.tab != 0 && this.config.macros[this.tab - 1].alert != event.target.value) {
|
if (this.tab != 0 && this.config.macros[this.tab - 1].alert != event.target.value) {
|
||||||
this.$dispatch("macros-edited");
|
this.$dispatch("macros-edited");
|
||||||
|
this.macrosAlert = event.target.value;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
editedName: function (event) {
|
editedName: function (event) {
|
||||||
@@ -214,7 +215,6 @@ module.exports = {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
var file_name = this.fileName == "default" ? formattedFilename + ".ngc" : this.fileName;
|
var file_name = this.fileName == "default" ? formattedFilename + ".ngc" : this.fileName;
|
||||||
var file = this.newGcode;
|
var file = this.newGcode;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user