You've already forked godot
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:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user