|
@@ -2139,11 +2139,13 @@ ScriptEditorDebugger::ScriptEditorDebugger(EditorNode *p_editor) {
|
|
step = memnew(ToolButton);
|
|
step = memnew(ToolButton);
|
|
hbc->add_child(step);
|
|
hbc->add_child(step);
|
|
step->set_tooltip(TTR("Step Into"));
|
|
step->set_tooltip(TTR("Step Into"));
|
|
|
|
+ step->set_shortcut(ED_GET_SHORTCUT("debugger/step_into"));
|
|
step->connect("pressed", this, "debug_step");
|
|
step->connect("pressed", this, "debug_step");
|
|
|
|
|
|
next = memnew(ToolButton);
|
|
next = memnew(ToolButton);
|
|
hbc->add_child(next);
|
|
hbc->add_child(next);
|
|
next->set_tooltip(TTR("Step Over"));
|
|
next->set_tooltip(TTR("Step Over"));
|
|
|
|
+ next->set_shortcut(ED_GET_SHORTCUT("debugger/step_over"));
|
|
next->connect("pressed", this, "debug_next");
|
|
next->connect("pressed", this, "debug_next");
|
|
|
|
|
|
hbc->add_child(memnew(VSeparator));
|
|
hbc->add_child(memnew(VSeparator));
|
|
@@ -2151,11 +2153,13 @@ ScriptEditorDebugger::ScriptEditorDebugger(EditorNode *p_editor) {
|
|
dobreak = memnew(ToolButton);
|
|
dobreak = memnew(ToolButton);
|
|
hbc->add_child(dobreak);
|
|
hbc->add_child(dobreak);
|
|
dobreak->set_tooltip(TTR("Break"));
|
|
dobreak->set_tooltip(TTR("Break"));
|
|
|
|
+ dobreak->set_shortcut(ED_GET_SHORTCUT("debugger/break"));
|
|
dobreak->connect("pressed", this, "debug_break");
|
|
dobreak->connect("pressed", this, "debug_break");
|
|
|
|
|
|
docontinue = memnew(ToolButton);
|
|
docontinue = memnew(ToolButton);
|
|
hbc->add_child(docontinue);
|
|
hbc->add_child(docontinue);
|
|
docontinue->set_tooltip(TTR("Continue"));
|
|
docontinue->set_tooltip(TTR("Continue"));
|
|
|
|
+ docontinue->set_shortcut(ED_GET_SHORTCUT("debugger/continue"));
|
|
docontinue->connect("pressed", this, "debug_continue");
|
|
docontinue->connect("pressed", this, "debug_continue");
|
|
|
|
|
|
back = memnew(Button);
|
|
back = memnew(Button);
|