mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 07:17:42 -05:00
size() <= 0 and size() < 1.
This commit is contained in:
@@ -429,7 +429,7 @@ void ItemList::deselect(int p_idx) {
|
||||
}
|
||||
|
||||
void ItemList::deselect_all() {
|
||||
if (items.size() < 1) {
|
||||
if (items.is_empty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user