diff options
| author | Hein-Pieter van Braam | 2018-01-28 18:49:22 +0100 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-01-28 18:49:22 +0100 |
| commit | 713f190a30ceac123125d216448ef322b1841286 (patch) | |
| tree | 6b89f5a4b8a6ca772ee4cd644d37ad1f96c460df /scene/gui/base_button.cpp | |
| parent | 4caadae0f15d658d464d125829039a2e35c68124 (diff) | |
| download | godot-713f190a30ceac123125d216448ef322b1841286.tar.gz godot-713f190a30ceac123125d216448ef322b1841286.tar.zst godot-713f190a30ceac123125d216448ef322b1841286.zip | |
Diffstat (limited to 'scene/gui/base_button.cpp')
| -rw-r--r-- | scene/gui/base_button.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/scene/gui/base_button.cpp b/scene/gui/base_button.cpp index 8b9469021..9dfd388c3 100644 --- a/scene/gui/base_button.cpp +++ b/scene/gui/base_button.cpp @@ -311,10 +311,6 @@ void BaseButton::set_disabled(bool p_disabled) { status.disabled = p_disabled; update(); _change_notify("disabled"); - if (p_disabled) - set_focus_mode(FOCUS_NONE); - else - set_focus_mode(enabled_focus_mode); } bool BaseButton::is_disabled() const { |
