mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-24 18:17:21 +01:00
Temporarily disabled EditorLog's new shortcuts.
This commit is contained in:
parent
4fe2f00133
commit
448825acc1
@ -434,7 +434,7 @@ EditorLog::EditorLog() {
|
||||
search_box->set_h_size_flags(Control::SIZE_EXPAND_FILL);
|
||||
search_box->set_placeholder(TTR("Filter Messages"));
|
||||
search_box->set_clear_button_enabled(true);
|
||||
search_box->set_visible(true);
|
||||
//search_box->set_visible(true);
|
||||
search_box->connect("text_changed", this, "_search_changed");
|
||||
search_box->hide();
|
||||
vb_left->add_child(search_box);
|
||||
@ -451,7 +451,8 @@ EditorLog::EditorLog() {
|
||||
clear_button = memnew(Button);
|
||||
clear_button->set_flat(true);
|
||||
clear_button->set_focus_mode(FOCUS_NONE);
|
||||
clear_button->set_shortcut(ED_SHORTCUT("editor/clear_output", TTR("Clear Output"), KEY_MASK_CTRL | KEY_MASK_SHIFT | KEY_K));
|
||||
clear_button->set_tooltip(TTR("Clear Output"));
|
||||
//clear_button->set_shortcut(ED_SHORTCUT("editor/clear_output", TTR("Clear Output"), KEY_MASK_CTRL | KEY_MASK_SHIFT | KEY_K));
|
||||
//clear_button->set_shortcut_context(this);
|
||||
clear_button->connect("pressed", this, "_clear_request");
|
||||
hb_tools->add_child(clear_button);
|
||||
@ -460,7 +461,8 @@ EditorLog::EditorLog() {
|
||||
copy_button = memnew(Button);
|
||||
copy_button->set_flat(true);
|
||||
copy_button->set_focus_mode(FOCUS_NONE);
|
||||
copy_button->set_shortcut(ED_SHORTCUT("editor/copy_output", TTR("Copy Selection"), KEY_MASK_CTRL | KEY_K));
|
||||
copy_button->set_tooltip(TTR("Copy Selection"));
|
||||
//copy_button->set_shortcut(ED_SHORTCUT("editor/copy_output", TTR("Copy Selection"), KEY_MASK_CTRL | KEY_K));
|
||||
//copy_button->set_shortcut_context(this);
|
||||
copy_button->connect("pressed", this, "_copy_request");
|
||||
hb_tools->add_child(copy_button);
|
||||
@ -486,7 +488,8 @@ EditorLog::EditorLog() {
|
||||
show_search_button->set_focus_mode(FOCUS_NONE);
|
||||
show_search_button->set_toggle_mode(true);
|
||||
show_search_button->set_pressed(false);
|
||||
show_search_button->set_shortcut(ED_SHORTCUT("editor/open_search", TTR("Focus Search/Filter Bar"), KEY_MASK_CTRL | KEY_F));
|
||||
show_search_button->set_tooltip(TTR("Open Search/Filter Bar"));
|
||||
//show_search_button->set_shortcut(ED_SHORTCUT("editor/open_search", TTR("Open Search/Filter Bar"), KEY_MASK_CTRL | KEY_F));
|
||||
//show_search_button->set_shortcut_context(this);
|
||||
show_search_button->connect("toggled", this, "_set_search_visible");
|
||||
hb_tools2->add_child(show_search_button);
|
||||
|
Loading…
Reference in New Issue
Block a user