Add Ctrl + L / Cmd + Shift + G shortcut to focus path bar in FileDialog
This also tweaks EditorFileDialog to use the same shortcut, while making it select the path text after focusing (like in most file managers). Ctrl + L / Cmd + Shift + G can also now be used to focus on the property name in the project settings editor, as well in the Input Map, Autoload, Shader Globals and Global Groups tabs.
This commit is contained in:
@ -356,6 +356,10 @@ String ShaderGlobalsEditor::_check_new_variable_name(const String &p_variable_na
|
||||
return "";
|
||||
}
|
||||
|
||||
LineEdit *ShaderGlobalsEditor::get_name_box() const {
|
||||
return variable_name;
|
||||
}
|
||||
|
||||
void ShaderGlobalsEditor::_variable_name_text_changed(const String &p_variable_name) {
|
||||
const String &warning = _check_new_variable_name(p_variable_name.strip_edges());
|
||||
variable_add->set_tooltip_text(warning);
|
||||
|
||||
Reference in New Issue
Block a user