aboutsummaryrefslogtreecommitdiff
path: root/src/ui/control.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/control.hpp')
-rw-r--r--src/ui/control.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/control.hpp b/src/ui/control.hpp
index 5f8ac02a..9ff407b0 100644
--- a/src/ui/control.hpp
+++ b/src/ui/control.hpp
@@ -207,7 +207,7 @@ void DispatchEvent(Control* const original_sender,
auto parent = original_sender;
while (parent != last_receiver) {
receive_list.push_back(parent);
- parent = parent->GetInternalParent();
+ parent = parent->GetParent();
}
auto handled = false;