godot icon indicating copy to clipboard operation
godot copied to clipboard

MenuBar property exports as wrong type

Open 20milliliter opened this issue 3 years ago • 1 comments

Godot version

4.0.stable

System information

Windows 10

Issue description

The MenuBar node's start_index property exports as a boolean in the editor, when it is actually an integer.

Steps to reproduce

  1. Create a MenuBar control node.

Minimal reproduction project

N/A

20milliliter avatar Mar 10 '23 08:03 20milliliter

Yep, it's a typo here:

https://github.com/godotengine/godot/blob/c1128e911ccd6f1e8c35646df804d894652a58f1/scene/gui/menu_bar.cpp#L669

YuriSizov avatar Mar 10 '23 10:03 YuriSizov