diff options
author | Aaron Franke <arnfranke@yahoo.com> | 2018-11-27 21:58:00 -0500 |
---|---|---|
committer | Aaron Franke <arnfranke@yahoo.com> | 2018-11-28 05:03:24 -0500 |
commit | cb01268562a47e6a1c32559f58fbadd46e52d304 (patch) | |
tree | 8466e05cbf670863759899e0fd7d67d6a44ca1cb /editor/editor_spin_slider.cpp | |
parent | aa08ef2bed34510cfb18ce3e1e5cdd9c009981be (diff) | |
download | redot-engine-cb01268562a47e6a1c32559f58fbadd46e52d304.tar.gz |
Fix many errors found by PVS-Studio
Fix errors 2, 3, 4, 6, 8, 9, 11, 12, 13, 14, and 15.
Diffstat (limited to 'editor/editor_spin_slider.cpp')
-rw-r--r-- | editor/editor_spin_slider.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/editor_spin_slider.cpp b/editor/editor_spin_slider.cpp index b6e4375ce9..8ea56b8578 100644 --- a/editor/editor_spin_slider.cpp +++ b/editor/editor_spin_slider.cpp @@ -154,7 +154,7 @@ void EditorSpinSlider::_grabber_gui_input(const Ref<InputEvent> &p_event) { void EditorSpinSlider::_notification(int p_what) { - if (p_what == MainLoop::NOTIFICATION_WM_FOCUS_OUT || p_what == MainLoop::NOTIFICATION_WM_FOCUS_OUT) { + if (p_what == MainLoop::NOTIFICATION_WM_FOCUS_OUT || p_what == MainLoop::NOTIFICATION_WM_FOCUS_IN) { if (grabbing_spinner) { Input::get_singleton()->set_mouse_mode(Input::MOUSE_MODE_VISIBLE); grabbing_spinner = false; |