You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Replace size() == 0 with is_empty().
This commit is contained in:
@@ -330,7 +330,7 @@ void EditorPropertySizeFlags::update_property() {
|
||||
void EditorPropertySizeFlags::setup(const Vector<String> &p_options, bool p_vertical) {
|
||||
vertical = p_vertical;
|
||||
|
||||
if (p_options.size() == 0) {
|
||||
if (p_options.is_empty()) {
|
||||
flag_presets->clear();
|
||||
flag_presets->add_item(TTR("Container Default"));
|
||||
flag_presets->set_disabled(true);
|
||||
|
||||
Reference in New Issue
Block a user