Fix #116415: Show Empty text for Current Asset Library
Show "No items" if item count is less than one, to include situations where it is -1 Pull Request: https://projects.blender.org/blender/blender/pulls/116446
This commit is contained in:
committed by
Harley Acheson
parent
bf96f6cda9
commit
341c54ce21
@@ -1166,7 +1166,7 @@ void file_draw_list(const bContext *C, ARegion *region)
|
||||
}
|
||||
}
|
||||
|
||||
if (numfiles == 0) {
|
||||
if (numfiles < 1) {
|
||||
const rcti tile_draw_rect = tile_draw_rect_get(
|
||||
v2d, layout, eFileDisplayType(params->display), 0, 0);
|
||||
const uiStyle *style = UI_style_get();
|
||||
|
||||
Reference in New Issue
Block a user