Browse Source

Bug fix: findChildObject

Neal Wilson 12 years ago
parent
commit
7d9805e070
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      config/Reports/chart.xml

+ 1
- 0
config/Reports/chart.xml View File

29
                 view.print();
29
                 view.print();
30
             });
30
             });
31
             var avgField = findChildObject(this, 'days');
31
             var avgField = findChildObject(this, 'days');
32
+			var unitBox = findChildObject(this, 'unit');
32
 			unitBox.addItem("Kg");
33
 			unitBox.addItem("Kg");
33
 			unitBox.addItem("Lb");
34
 			unitBox.addItem("Lb");
34
 			unitBox.currentIndex = QSettings.value("script/report_unit", 1);
35
 			unitBox.currentIndex = QSettings.value("script/report_unit", 1);

Loading…
Cancel
Save