mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
[Scene] Add SceneStringNames::item_selected
This commit is contained in:
@@ -787,7 +787,7 @@ ImportDock::ImportDock() {
|
||||
import_as->set_fit_to_longest_item(false);
|
||||
import_as->set_text_overrun_behavior(TextServer::OVERRUN_TRIM_ELLIPSIS);
|
||||
import_as->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
import_as->connect("item_selected", callable_mp(this, &ImportDock::_importer_selected));
|
||||
import_as->connect(SceneStringName(item_selected), callable_mp(this, &ImportDock::_importer_selected));
|
||||
hb->add_child(import_as);
|
||||
import_as->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
preset = memnew(MenuButton);
|
||||
|
||||
Reference in New Issue
Block a user