1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-13 13:31:48 +00:00

Hide the warnings panel when no warnings presents.

This commit is contained in:
allkhor
2019-02-13 15:12:31 +06:00
parent 8fd6a02d3e
commit 0137ec3468
4 changed files with 18 additions and 7 deletions

View File

@@ -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();