summaryrefslogtreecommitdiff
path: root/editor/plugins
diff options
context:
space:
mode:
authorJames Buck <jamesbuck11@gmail.com>2019-04-15 13:19:03 -0500
committerJames Buck <jamesbuck11@gmail.com>2019-04-15 14:36:42 -0500
commitae646261e384c830a30e0b63db3992115ccbfaf4 (patch)
treecb206ccca151bf19e1963713c22b6133430ee86c /editor/plugins
parent87e42e4f66cbe29b2b16f87b0408cf00cf45013a (diff)
Fix setting of PopupMenu item IDs in editor
Diffstat (limited to 'editor/plugins')
-rw-r--r--editor/plugins/item_list_editor_plugin.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/item_list_editor_plugin.h b/editor/plugins/item_list_editor_plugin.h
index 679235e316..701632e576 100644
--- a/editor/plugins/item_list_editor_plugin.h
+++ b/editor/plugins/item_list_editor_plugin.h
@@ -157,7 +157,7 @@ public:
virtual void set_item_enabled(int p_idx, int p_enabled) { pp->set_item_disabled(p_idx, !p_enabled); }
virtual bool is_item_enabled(int p_idx) const { return !pp->is_item_disabled(p_idx); }
- virtual void set_item_id(int p_idx, int p_id) { pp->set_item_id(p_idx, p_idx); }
+ virtual void set_item_id(int p_idx, int p_id) { pp->set_item_id(p_idx, p_id); }
virtual int get_item_id(int p_idx) const { return pp->get_item_id(p_idx); }
virtual void set_item_separator(int p_idx, bool p_separator) { pp->set_item_as_separator(p_idx, p_separator); }