Merge pull request #34707 from KoBeWi/omg

Fix argument type in set_follow_focus()
This commit is contained in:
Rémi Verschelde
2019-12-31 12:43:09 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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;
}
+1 -1
View File
@@ -95,7 +95,7 @@ public:
void set_deadzone(int p_deadzone);
bool is_following_focus() const;
void set_follow_focus(int p_follow);
void set_follow_focus(bool p_follow);
HScrollBar *get_h_scrollbar();
VScrollBar *get_v_scrollbar();