diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2018-08-14 15:28:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-14 15:28:18 +0200 |
commit | affc781d7225acc95ec4b30fdfc313ae3ea4e6cb (patch) | |
tree | e3498dbd4ace9de74e05cf9ca876e0acc5b942e3 | |
parent | 8f202bd9ec6ee6d2c2a90c672e1494aa72458107 (diff) | |
parent | f6a250adf8ebffa709e810625388249ef3d6d108 (diff) |
Merge pull request #20999 from ivodopiviz/project-manager-show
Always show "Open in File Manager"
-rw-r--r-- | editor/project_manager.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index 6af7779575..1201a74c9a 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -915,12 +915,6 @@ void ProjectManager::_update_project_buttons() { CanvasItem *item = Object::cast_to<CanvasItem>(scroll_children->get_child(i)); item->update(); - - Button *show = Object::cast_to<Button>(item->get_node(NodePath("project/path_box/show"))); - if (show) { - String current = item->get_meta("name"); - show->set_visible(selected_list.has(current)); - } } bool empty_selection = selected_list.empty(); @@ -1316,7 +1310,6 @@ void ProjectManager::_load_recent_projects() { path_hb->add_child(show); show->connect("pressed", this, "_show_project", varray(path)); show->set_tooltip(TTR("Show In File Manager")); - show->set_visible(false); Label *fpath = memnew(Label(path)); fpath->set_name("path"); |