restore extruder drop down population
This commit is contained in:
parent
575015d4bf
commit
5c56c4e860
2 changed files with 12 additions and 3 deletions
|
|
@ -791,6 +791,15 @@ gapp.register("kiri.init", [], (root, exports) => {
|
|||
ui.fwRetract.checked = dev.fwRetract;
|
||||
if (!dev.filamentSource) ui.filamentSource.selectedIndex = 0;
|
||||
|
||||
// add extruder selection buttons
|
||||
if (dev.extruders) {
|
||||
let ext = api.lists.extruders = [];
|
||||
dev.internal = 0;
|
||||
for (let i=0; i<dev.extruders.length; i++) {
|
||||
ext.push({id:i, name:i});
|
||||
}
|
||||
}
|
||||
|
||||
// disable editing for non-local devices
|
||||
[
|
||||
ui.deviceName,
|
||||
|
|
|
|||
Loading…
Reference in a new issue