mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 03:28:20 +02:00
Move empty autocomplete entry check into c++ side
This commit is contained in:
parent
dd2e5a25c5
commit
39a1f44b9c
2 changed files with 2 additions and 5 deletions
|
@ -2426,11 +2426,6 @@ namespace IDE.ui
|
|||
}
|
||||
continue;
|
||||
}
|
||||
else if (entryDisplay.Length == 0)
|
||||
{
|
||||
// Skip entry that has no name
|
||||
continue;
|
||||
}
|
||||
|
||||
switch (entryType)
|
||||
{
|
||||
|
|
|
@ -842,6 +842,8 @@ void BfAutoComplete::AddField(BfTypeInstance* typeInst, BfFieldDef* fieldDef, Bf
|
|||
|
||||
void BfAutoComplete::AddProp(BfTypeInstance* typeInst, BfPropertyDef* propDef, const StringImpl& filter)
|
||||
{
|
||||
if (propDef->mName.IsEmpty())
|
||||
return;
|
||||
int wantPrefixCount = 0;
|
||||
const char* filterStr = filter.c_str();
|
||||
while (filterStr[0] == '@')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue