summaryrefslogtreecommitdiff
path: root/scene/gui/scroll_container.cpp
diff options
context:
space:
mode:
authorTomasz Chabora <kobewi4e@gmail.com>2019-12-30 23:42:39 +0100
committerTomasz Chabora <kobewi4e@gmail.com>2019-12-30 23:42:39 +0100
commit54f70b6b506ee460e6ef2f986158fe5abe696ae6 (patch)
tree4346f8887e8e778aee2a1998e193071dc0573405 /scene/gui/scroll_container.cpp
parent5fa1905131bc20e8a4a939d0edf8370091c88a50 (diff)
Fix argument type in set_follow_focus()
Diffstat (limited to 'scene/gui/scroll_container.cpp')
-rw-r--r--scene/gui/scroll_container.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/scroll_container.cpp b/scene/gui/scroll_container.cpp
index c44cebb84a..169e1db663 100644
--- a/scene/gui/scroll_container.cpp
+++ b/scene/gui/scroll_container.cpp
@@ -514,7 +514,7 @@ bool ScrollContainer::is_following_focus() const {
return follow_focus;
}
-void ScrollContainer::set_follow_focus(int p_follow) {
+void ScrollContainer::set_follow_focus(bool p_follow) {
follow_focus = p_follow;
}