[Bug #1150] Material categories tree is reloaded after adding new elements
FEA: ItEr75S04BugFixing
This commit is contained in:
parent
a8e14b138c
commit
1541c0ee67
2 changed files with 3 additions and 3 deletions
|
|
@ -386,10 +386,10 @@ public class MaterialsController extends
|
|||
private void reloadCategoriesTree(Treeitem treeitem) {
|
||||
if (treeitem != null) {
|
||||
final MaterialCategory materialCategory = (MaterialCategory) treeitem.getValue();
|
||||
Util.reloadBindings(categoriesTree);
|
||||
categoriesTree.invalidate();
|
||||
locateAndSelectMaterialCategory(materialCategory);
|
||||
} else {
|
||||
Util.reloadBindings(categoriesTree);
|
||||
categoriesTree.invalidate();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@
|
|||
<vbox id="messagesContainer" />
|
||||
|
||||
<groupbox closable="false">
|
||||
<caption label="${i18n:_('Categories')}" />
|
||||
<caption label="${i18n:_('Categories')}" />
|
||||
<hbox>
|
||||
<textbox id="txtCategory" onOK="materialsController.addMaterialCategory()"
|
||||
style="padding-bottom: 4px" />
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue