diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-06 17:00:58 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2022-09-06 17:00:58 +0200 |
commit | 49d18f0725ad9ac92ea058f18a0b2befe39a24d8 (patch) | |
tree | 9977fa45ea869b3839732ea693bc7eabb971699f /scene/gui/popup_menu.h | |
parent | adaec8396e3373518044d82c694c6b0d36fce4d5 (diff) | |
parent | 9507e91c073cb6c3002396ae6fa785d382e4dc5e (diff) |
Merge pull request #65423 from YeldhamDev/i_want_to_ride_my_bycicle
Rename `PopupMenu`'s `set/get_current_index()` to `set/get_focused_item()`
Diffstat (limited to 'scene/gui/popup_menu.h')
-rw-r--r-- | scene/gui/popup_menu.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/popup_menu.h b/scene/gui/popup_menu.h index c8c598bd50..ad7909842e 100644 --- a/scene/gui/popup_menu.h +++ b/scene/gui/popup_menu.h @@ -261,8 +261,8 @@ public: int get_item_max_states(int p_idx) const; int get_item_state(int p_idx) const; - void set_current_index(int p_idx); - int get_current_index() const; + void set_focused_item(int p_idx); + int get_focused_item() const; void set_item_count(int p_count); int get_item_count() const; |