mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-04-09 21:32:37 +02:00
Removed the online docs link from the top of the script editor.
This commit is contained in:
parent
c054c4db58
commit
85536b1134
@ -1113,9 +1113,6 @@ void ScriptEditor::_menu_option(int p_option) {
|
|||||||
case SEARCH_HELP: {
|
case SEARCH_HELP: {
|
||||||
help_search_dialog->popup_dialog();
|
help_search_dialog->popup_dialog();
|
||||||
} break;
|
} break;
|
||||||
case SEARCH_WEBSITE: {
|
|
||||||
OS::get_singleton()->shell_open(VERSION_DOCS_URL "/");
|
|
||||||
} break;
|
|
||||||
case WINDOW_NEXT: {
|
case WINDOW_NEXT: {
|
||||||
_history_forward();
|
_history_forward();
|
||||||
} break;
|
} break;
|
||||||
@ -1475,7 +1472,6 @@ void ScriptEditor::_notification(int p_what) {
|
|||||||
}
|
}
|
||||||
case NOTIFICATION_THEME_CHANGED: {
|
case NOTIFICATION_THEME_CHANGED: {
|
||||||
help_search->set_icon(get_icon("HelpSearch", "EditorIcons"));
|
help_search->set_icon(get_icon("HelpSearch", "EditorIcons"));
|
||||||
site_search->set_icon(get_icon("Instance", "EditorIcons"));
|
|
||||||
|
|
||||||
script_forward->set_icon(get_icon("Forward", "EditorIcons"));
|
script_forward->set_icon(get_icon("Forward", "EditorIcons"));
|
||||||
script_back->set_icon(get_icon("Back", "EditorIcons"));
|
script_back->set_icon(get_icon("Back", "EditorIcons"));
|
||||||
@ -3489,12 +3485,6 @@ ScriptEditor::ScriptEditor(EditorNode *p_editor) {
|
|||||||
|
|
||||||
menu_hb->add_spacer();
|
menu_hb->add_spacer();
|
||||||
|
|
||||||
site_search = memnew(ToolButton);
|
|
||||||
site_search->set_text(TTR("Online Docs"));
|
|
||||||
site_search->connect("pressed", this, "_menu_option", varray(SEARCH_WEBSITE));
|
|
||||||
menu_hb->add_child(site_search);
|
|
||||||
site_search->set_tooltip(TTR("Open Pandemonium online documentation."));
|
|
||||||
|
|
||||||
help_search = memnew(ToolButton);
|
help_search = memnew(ToolButton);
|
||||||
help_search->set_text(TTR("Search Help"));
|
help_search->set_text(TTR("Search Help"));
|
||||||
help_search->connect("pressed", this, "_menu_option", varray(SEARCH_HELP));
|
help_search->connect("pressed", this, "_menu_option", varray(SEARCH_HELP));
|
||||||
|
@ -190,7 +190,6 @@ class ScriptEditor : public PanelContainer {
|
|||||||
SEARCH_IN_FILES,
|
SEARCH_IN_FILES,
|
||||||
REPLACE_IN_FILES,
|
REPLACE_IN_FILES,
|
||||||
SEARCH_HELP,
|
SEARCH_HELP,
|
||||||
SEARCH_WEBSITE,
|
|
||||||
HELP_SEARCH_FIND,
|
HELP_SEARCH_FIND,
|
||||||
HELP_SEARCH_FIND_NEXT,
|
HELP_SEARCH_FIND_NEXT,
|
||||||
HELP_SEARCH_FIND_PREVIOUS,
|
HELP_SEARCH_FIND_PREVIOUS,
|
||||||
@ -234,7 +233,6 @@ class ScriptEditor : public PanelContainer {
|
|||||||
PopupMenu *theme_submenu;
|
PopupMenu *theme_submenu;
|
||||||
|
|
||||||
Button *help_search;
|
Button *help_search;
|
||||||
Button *site_search;
|
|
||||||
EditorHelpSearch *help_search_dialog;
|
EditorHelpSearch *help_search_dialog;
|
||||||
|
|
||||||
ItemList *script_list;
|
ItemList *script_list;
|
||||||
|
Loading…
Reference in New Issue
Block a user