diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-02-13 12:56:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-13 12:56:59 +0100 |
commit | d2765cd04a507a1211a35a9690a482670a49f5fd (patch) | |
tree | 8f7e0d3ababc23ac7cef09ff460bd9c1dcca18df /editor/code_editor.h | |
parent | d6a88bbc3060b9adb1fef980bf79b343c89cc360 (diff) | |
parent | 0137ec34686da6c4f62420c11595deb26d74978c (diff) | |
download | redot-engine-d2765cd04a507a1211a35a9690a482670a49f5fd.tar.gz |
Merge pull request #25814 from allkhor/hide_warning_panel
Hide the warning panel when no warnings presents.
Diffstat (limited to 'editor/code_editor.h')
-rw-r--r-- | editor/code_editor.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/editor/code_editor.h b/editor/code_editor.h index e801b5a17c..67e8fc9d3c 100644 --- a/editor/code_editor.h +++ b/editor/code_editor.h @@ -176,6 +176,7 @@ class CodeTextEditor : public VBoxContainer { void _warning_label_gui_input(const Ref<InputEvent> &p_event); void _warning_button_pressed(); + void _set_show_warnings_panel(bool p_show); void _error_pressed(const Ref<InputEvent> &p_event); protected: @@ -190,6 +191,8 @@ protected: void _notification(int); static void _bind_methods(); + bool is_warnings_panel_opened; + public: void trim_trailing_whitespace(); |