diff options
Diffstat (limited to 'editor/project_manager.cpp')
-rw-r--r-- | editor/project_manager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/editor/project_manager.cpp b/editor/project_manager.cpp index 1ea8440508..6ace79df27 100644 --- a/editor/project_manager.cpp +++ b/editor/project_manager.cpp @@ -465,7 +465,7 @@ void ProjectManager::_notification(int p_what) { if (p_what == NOTIFICATION_ENTER_TREE) { - get_tree()->set_editor_hint(true); + Engine::get_singleton()->set_editor_hint(true); } else if (p_what == NOTIFICATION_VISIBILITY_CHANGED) { @@ -929,10 +929,10 @@ void ProjectManager::_open_project_confirm() { List<String> args; - args.push_back("-path"); + args.push_back("--path"); args.push_back(path); - args.push_back("-editor"); + args.push_back("--editor"); String exec = OS::get_singleton()->get_executable_path(); @@ -982,7 +982,7 @@ void ProjectManager::_run_project_confirm() { List<String> args; - args.push_back("-path"); + args.push_back("--path"); args.push_back(path); String exec = OS::get_singleton()->get_executable_path(); @@ -1449,7 +1449,7 @@ void ProjectListFilter::_filter_option_selected(int p_idx) { void ProjectListFilter::_notification(int p_what) { switch (p_what) { case NOTIFICATION_ENTER_TREE: { - clear_search_button->set_icon(get_icon("CloseHover", "EditorIcons")); + clear_search_button->set_icon(get_icon("Close", "EditorIcons")); } break; } } |