diff options
| author | Andreas Haas | 2017-02-20 21:22:50 +0100 |
|---|---|---|
| committer | Andreas Haas | 2017-02-20 21:23:09 +0100 |
| commit | 10fa752ae7ea95c5fc94579d10c5d72888c18802 (patch) | |
| tree | 94c7e1b9e41d0dbe6ddc0404eb330e89e39c78d5 /tools/editor/plugins/script_editor_plugin.cpp | |
| parent | 6e2bf31e5a8f3dbe18e31b1aff9c26ee184ad8c8 (diff) | |
| download | godot-10fa752ae7ea95c5fc94579d10c5d72888c18802.tar.gz godot-10fa752ae7ea95c5fc94579d10c5d72888c18802.tar.zst godot-10fa752ae7ea95c5fc94579d10c5d72888c18802.zip | |
Diffstat (limited to 'tools/editor/plugins/script_editor_plugin.cpp')
| -rw-r--r-- | tools/editor/plugins/script_editor_plugin.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/editor/plugins/script_editor_plugin.cpp b/tools/editor/plugins/script_editor_plugin.cpp index 0a880de35..9702ec446 100644 --- a/tools/editor/plugins/script_editor_plugin.cpp +++ b/tools/editor/plugins/script_editor_plugin.cpp @@ -292,6 +292,10 @@ String ScriptEditor::_get_debug_tooltip(const String&p_text,Node *_se) { void ScriptEditor::_breaked(bool p_breaked,bool p_can_debug) { + if (bool(EditorSettings::get_singleton()->get("text_editor/external/use_external_editor"))) { + return; + } + debug_menu->get_popup()->set_item_disabled( debug_menu->get_popup()->get_item_index(DEBUG_NEXT), !(p_breaked && p_can_debug)); debug_menu->get_popup()->set_item_disabled( debug_menu->get_popup()->get_item_index(DEBUG_STEP), !(p_breaked && p_can_debug) ); debug_menu->get_popup()->set_item_disabled( debug_menu->get_popup()->get_item_index(DEBUG_BREAK), p_breaked ); |
