Merge pull request #70555 from stmSi/3.x-suggest-filename-save-branch-remote-tree
[3.x] suggest filename save branch remote tree
This commit is contained in:
commit
606101cacd
|
@ -2263,6 +2263,10 @@ void ScriptEditorDebugger::_item_menu_id_pressed(int p_option) {
|
|||
file_dialog->add_filter("*." + extensions[i] + " ; " + extensions[i].to_upper());
|
||||
}
|
||||
|
||||
TreeItem *ti = inspect_scene_tree->get_selected();
|
||||
String filename = ti->get_text(0) + "." + extensions.front()->get().to_lower();
|
||||
|
||||
file_dialog->set_current_path(filename);
|
||||
file_dialog->popup_centered_ratio();
|
||||
} break;
|
||||
case ITEM_MENU_COPY_NODE_PATH: {
|
||||
|
|
Loading…
Reference in New Issue