diff --git a/editor/task_palette.cpp b/editor/task_palette.cpp index 980b6a2..a462a8f 100644 --- a/editor/task_palette.cpp +++ b/editor/task_palette.cpp @@ -41,6 +41,10 @@ Control *TaskButton::make_custom_tooltip(const String &p_text) const { return help_bit; } +TaskButton::TaskButton() { + set_focus_mode(FOCUS_NONE); +} + //**** TaskButton ^ //**** TaskPaletteSection diff --git a/editor/task_palette.h b/editor/task_palette.h index e336ae6..669ace8 100644 --- a/editor/task_palette.h +++ b/editor/task_palette.h @@ -25,6 +25,8 @@ class TaskButton : public Button { public: virtual Control *make_custom_tooltip(const String &p_text) const override; + + TaskButton(); }; class TaskPaletteSection : public VBoxContainer {