Merge pull request #114578 from passivestar/visual-shader-focus
Fix switching visual shader type draws focus
This commit is contained in:
@@ -5684,7 +5684,7 @@ void VisualShaderEditor::_type_selected(int p_id) {
|
||||
_update_nodes();
|
||||
_update_graph();
|
||||
|
||||
graph->grab_focus();
|
||||
graph->grab_focus(true);
|
||||
}
|
||||
|
||||
void VisualShaderEditor::_custom_mode_toggled(bool p_enabled) {
|
||||
|
||||
Reference in New Issue
Block a user