mirror of
https://github.com/Redot-Engine/redot-engine.git
synced 2025-12-06 15:21:56 -05:00
Merge commit godotengine/godot@fd4c29a189
This commit is contained in:
@@ -526,7 +526,7 @@ void ConnectDialog::set_dst_node(Node *p_node) {
|
||||
StringName ConnectDialog::get_dst_method_name() const {
|
||||
String txt = dst_method->get_text();
|
||||
if (txt.contains("(")) {
|
||||
txt = txt.left(txt.find("(")).strip_edges();
|
||||
txt = txt.left(txt.find_char('(')).strip_edges();
|
||||
}
|
||||
return txt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user