mirror of
https://github.com/godotengine/godot.git
synced 2025-10-30 05:01:10 +00:00
Fix submenus deleted accidentally
This commit is contained in:
parent
36945dad07
commit
e30e84d77a
5 changed files with 6 additions and 6 deletions
|
|
@ -670,7 +670,7 @@ void EditorPropertyOTFeatures::update_property() {
|
|||
}
|
||||
|
||||
// Update add menu items.
|
||||
menu->clear();
|
||||
menu->clear(false);
|
||||
bool have_sub[FGRP_MAX];
|
||||
for (int i = 0; i < FGRP_MAX; i++) {
|
||||
menu_sub[i]->clear();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue