1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

[Scene] Add SceneStringNames::confirmed

This commit is contained in:
A Thousand Ships
2024-05-14 14:28:18 +02:00
parent d9e2fc74c7
commit ca18a06ecb
66 changed files with 128 additions and 124 deletions

View File

@@ -190,7 +190,7 @@ void SurfaceUpgradeDialog::_notification(int p_what) {
switch (p_what) {
case NOTIFICATION_READY:
// Can't do it in the constructor because it doesn't know that the signal exists.
connect("confirmed", callable_mp(SurfaceUpgradeTool::get_singleton(), &SurfaceUpgradeTool::prepare_upgrade));
connect(SceneStringName(confirmed), callable_mp(SurfaceUpgradeTool::get_singleton(), &SurfaceUpgradeTool::prepare_upgrade));
break;
}
}