[Scene] Add SceneStringNames::item_selected
This commit is contained in:
parent
0a83e7c5da
commit
d9e2fc74c7
58 changed files with 135 additions and 131 deletions
|
|
@ -7314,7 +7314,7 @@ AnimationTrackEditor::AnimationTrackEditor() {
|
|||
snap_mode->add_item(TTR("Seconds"));
|
||||
snap_mode->add_item(TTR("FPS"));
|
||||
bottom_hb->add_child(snap_mode);
|
||||
snap_mode->connect("item_selected", callable_mp(this, &AnimationTrackEditor::_snap_mode_changed));
|
||||
snap_mode->connect(SceneStringName(item_selected), callable_mp(this, &AnimationTrackEditor::_snap_mode_changed));
|
||||
snap_mode->set_disabled(true);
|
||||
|
||||
bottom_hb->add_child(memnew(VSeparator));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue