mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
[Scene] Add SceneStringNames::pressed
This commit is contained in:
parent
78cce1954d
commit
ee79386f7b
147 changed files with 727 additions and 722 deletions
|
|
@ -647,7 +647,7 @@ Sprite2DEditor::Sprite2DEditor() {
|
|||
hb->add_spacer();
|
||||
update_preview = memnew(Button);
|
||||
update_preview->set_text(TTR("Update Preview"));
|
||||
update_preview->connect("pressed", callable_mp(this, &Sprite2DEditor::_update_mesh_data));
|
||||
update_preview->connect(SceneStringName(pressed), callable_mp(this, &Sprite2DEditor::_update_mesh_data));
|
||||
hb->add_child(update_preview);
|
||||
vb->add_margin_child(TTR("Settings:"), hb);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue