summaryrefslogtreecommitdiffstats
path: root/editor/code_editor.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-02-13 12:56:59 +0100
committerGitHub <noreply@github.com>2019-02-13 12:56:59 +0100
commitd2765cd04a507a1211a35a9690a482670a49f5fd (patch)
tree8f7e0d3ababc23ac7cef09ff460bd9c1dcca18df /editor/code_editor.h
parentd6a88bbc3060b9adb1fef980bf79b343c89cc360 (diff)
parent0137ec34686da6c4f62420c11595deb26d74978c (diff)
downloadredot-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.h3
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();