|
@@ -69,6 +69,9 @@
|
69
|
69
|
unitBox.addItem("oz");
|
70
|
70
|
unitBox.addItem("lb");
|
71
|
71
|
unitBox.currentIndex = (QSettings.value("script/batch_unit", unitBox.findText("lb")));
|
|
72
|
+ unitBox['currentIndexChanged(int)'].connect(function() {
|
|
73
|
+ QSettings.setValue("script/batch_unit", unitBox.currentIndex);
|
|
74
|
+ });
|
72
|
75
|
var machine = findChildObject(this, "machine");
|
73
|
76
|
machine.setText(selectedRoasterName + " (" + selectedRoasterID + ")");
|
74
|
77
|
var newMenu = findChildObject(this, 'new');
|