[Scene] Add SceneStringNames::pressed
This commit is contained in:
parent
78cce1954d
commit
ee79386f7b
147 changed files with 727 additions and 722 deletions
|
|
@ -215,7 +215,7 @@ EditorAbout::EditorAbout() {
|
|||
}
|
||||
version_btn->set_tooltip_text(vformat(TTR("Git commit date: %s\nClick to copy the version number."), build_date));
|
||||
|
||||
version_btn->connect("pressed", callable_mp(this, &EditorAbout::_version_button_pressed));
|
||||
version_btn->connect(SceneStringName(pressed), callable_mp(this, &EditorAbout::_version_button_pressed));
|
||||
version_info_vbc->add_child(version_btn);
|
||||
|
||||
Label *about_text = memnew(Label);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue