mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-13 05:44:11 +02:00
mListView empty check
This commit is contained in:
parent
27ee2a10ac
commit
af9f6a5cba
1 changed files with 8 additions and 5 deletions
|
@ -3246,6 +3246,8 @@ namespace IDE.ui
|
|||
|
||||
bool hasVisibleItem = false;
|
||||
bool hasHiddemItems = false;
|
||||
if (mListView.GetRoot().GetChildCount() > 0)
|
||||
{
|
||||
for (var item in mListView.GetRoot().mChildItems)
|
||||
{
|
||||
if (item.mSelfHeight > 0)
|
||||
|
@ -3253,6 +3255,7 @@ namespace IDE.ui
|
|||
else
|
||||
hasHiddemItems = true;
|
||||
}
|
||||
}
|
||||
|
||||
if ((hasHiddemItems) && (!hasVisibleItem))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue