- edited description
- changed version to 1.0
- changed milestone to ui
-
assigned issue to
[#bugs] bug: In `QudPregenModuleWindow.GetBreadCrumb()`’s `IconPath` argument the null c...
Issue #12343
resolved
Marked for crossposting by: books
Message (jump):
<books> bug: In
QudPregenModuleWindow.GetBreadCrumb()
’sIconPath
argument the null coalescing operator has a higher precedence than the conditional operator so it functions undesirably (should be something like((module?.data?.Pregen != null && module?.pregens.ContainsKey(module?.data?.Pregen) == true) ? module?.pregens[module?.data?.Pregen]?.Tile : UIBreadcrumb.DEFAULT_ICON) ?? UIBreadcrumb.DEFAULT_ICON
around the entire conditional
Comments (2)
-
repo owner -
repo owner - changed status to resolved
- Log in to comment