Skip to content

Commit

Permalink
use default project "0" if none are configured
Browse files Browse the repository at this point in the history
  • Loading branch information
mathisdt committed Apr 5, 2024
1 parent f0cba3e commit c50c0ee
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,10 @@ public EditDialog(Table tableOptigemAccounts, String accountsColumnHk, String ac
.filter(r -> r.get(projectsColumnNr) != null && r.get(projectsColumnBez) != null)
.map(r -> new IdAndName(Integer.parseInt(r.get(projectsColumnNr)), r.get(projectsColumnBez)))
.toList()));
setCalculatedComboboxDropdownWidth(projektComboBox);
} else {
projektComboBox.setItems(new IdAndName(0, "allgemein"));
}
setCalculatedComboboxDropdownWidth(projektComboBox);

binder = new Binder<>(RuleResult.class);

Expand Down

0 comments on commit c50c0ee

Please sign in to comment.