diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2017-08-11 13:34:06 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2017-08-11 13:34:06 +0200 |
commit | 1a04917fea6a769dbd540801daba5bab2b7b53ce (patch) | |
tree | 574bb2a35d2dd0f9abb7b061352a33d8d089507f | |
parent | ff2cb35b90f5661d1bb5fb00fa657a9539449be0 (diff) |
Fixes ItemList::is_same_column_width() return type
-rw-r--r-- | scene/gui/item_list.cpp | 2 | ||||
-rw-r--r-- | scene/gui/item_list.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/item_list.cpp b/scene/gui/item_list.cpp index 484051f546..b08b608db5 100644 --- a/scene/gui/item_list.cpp +++ b/scene/gui/item_list.cpp @@ -339,7 +339,7 @@ void ItemList::set_same_column_width(bool p_enable) { update(); shape_changed = true; } -int ItemList::is_same_column_width() const { +bool ItemList::is_same_column_width() const { return same_column_width; } diff --git a/scene/gui/item_list.h b/scene/gui/item_list.h index 137eff8885..dcffe4bce7 100644 --- a/scene/gui/item_list.h +++ b/scene/gui/item_list.h @@ -169,7 +169,7 @@ public: int get_fixed_column_width() const; void set_same_column_width(bool p_enable); - int is_same_column_width() const; + bool is_same_column_width() const; void set_max_text_lines(int p_amount); int get_max_text_lines() const; |