Merge pull request #96543 from Giganzo/visualshader-frame-title

Fix frame title popup position in the VisualShader editor
This commit is contained in:
Rémi Verschelde 2024-09-04 17:12:09 +02:00
commit 0c707d4fd3
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -2995,8 +2995,8 @@ void VisualShaderEditor::_frame_title_popup_show(const Point2 &p_position, int p
}
frame_title_change_edit->set_text(node->get_title());
frame_title_change_popup->set_meta("id", p_node_id);
frame_title_change_popup->popup();
frame_title_change_popup->set_position(p_position);
frame_title_change_popup->popup();
// Select current text.
frame_title_change_edit->grab_focus();