ProductionMaterial editors: fixes bugs.

Fixes bugs when allocating more material or losing material in a
production order: wrong call to an editor widget.

Change-Id: I93cd507604e05bfbe5e3aa2a8c459b2164476942