Fix startup issue after adding certain actions to toolbars

This commit is contained in:
JannisX11 2023-04-18 23:28:56 +02:00
parent 518d750074
commit 039ff972b6

View File

@ -1432,9 +1432,9 @@ class Toolbar {
var item = BarItems[itemId];
if (item) {
item.pushToolbar(this);
if (BARS.condition(item.condition)) {
/*if (BARS.condition(item.condition)) {
content.append(item.getNode())
}
}*/
this.positionLookup[itemPosition] = item;
} else {
var postloadAction = [itemId, itemPosition];