mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Replace size() == 0 with is_empty().
This commit is contained in:
parent
c7ea8614d7
commit
4f4031a675
147 changed files with 300 additions and 300 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue